Question: Develop a VB application that reads the height and width of a Rectangle shape and the calculate the area of it . Create a new
Develop a VB application that reads the height and width of a Rectangle shape and the calculate the area of it
Create a new project named LabTestYourIDeg LabTest
Design the form as follow:
mark for each control
Compute Rectangular Area
Number
mol
Number
Area:
Note:
Form Size is
Add the following to the form:
a Three Labels
b Three Buttons
c Two Textbox
Give appropriate names to the forms, and controls which are: labels, TextBoxs and buttons
Each control worth mark
Write the proper code that responds to the following events handlers:
mark for each code statement
tableControlEvent,ActionbtnAreaClick,table Read the input numbers from the txtNumtxtNum Convert Input to double. Store values in a variables. Calculate the area of the rectangular. Convert Area to string. Display the area in lblArea. Change the lblArea font color to red.btnExitClick, Close the Program.btnClearClick,table Clear all the input and output. Change the lblArea font color to black.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
