Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 LabTest_YourID(e.g. LabTest_201310492).
Design the form as follow:
(2 mark for each control)
Compute Rectangular Area
Number 1
mol
Number 2
Area:
Note:
Form Size is 710400
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 2 mark
3
Write the proper code that responds to the following events handlers:
(3 mark for each code statement)
\table[[Control,Event,Action],[btnArea,Click,\table[[- Read the input numbers from the txtNum1,txtNum2.],[- 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.]]],[btnExit,Click,- Close the Program.],[btnClear,Click,\table[[- Clear all the input and output.],[- Change the lblArea font color to black.]]]]
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions