Question: Open the Circle Area Solution (Circle Area Solution.sln) file contained in the VbReloaded2015Chap14Circle Area Solution folder. Add a new class file named Circle.vb to the

Open the Circle Area Solution (Circle Area Solution.sln) file contained in the VbReloaded2015\Chap14\Circle Area Solution folder. Add a new class file named Circle.vb to the project. The Circle class should contain one attribute: the circles radius. It should also contain a default constructor, a parameterized constructor, and a method that calculates and returns the circles area. Use the following formula to calculate the area: 3.141592 * radius2. Code the Circle class. Save the solution and then close the Circle.vb window. Next, open the forms Code Editor window. The calcButton_Click procedure should display the circles area, using the radius entered by the user. Display the area with two decimal places. Code the procedure. Save the solution and then start and test the application. Open the Circle Area Solution (Circle Area Solution.sln) file contained in the

Mair, Forrn.vb X Mdin Forrn.vb [ Circle Area Project MainForm Project none Project purpose: Crested/revised by: ircle Ares Projec Display the area of a circle on 5 Option Explicit Orn Option Strict On Option Infer Off Class MainForm Private Sub exitButton_Click(sender As Object, e As EventAres ) Handles exitButton.Click End Sub 19 12 14 16 18 Me.Close) Private Sub radiusTextBox Enter(sender As Cbject, e As EventAres) Handles radiusTextBox.Enter End Sub Private Sub radiusTextBox_TextChanged(sender As Object, e s Eventrs) Handles radiusTextBox. Textchanged radiusTextBox.SelectAl1) arealabel.Text String.Enpty

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!