Write a program with a form that contains three labels & text boxes (Base, Height & Area) in addition to a button labeled compute Triangle Area. The user must enter the base and height to find the area. (Triangle Area = 0. 5base x Height)
1
Expert's answer
2012-01-26T11:28:44-0500
Public Class Form1 Private Sub btnCalculate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalculate.Click txtTriangleArea.Text = (0.5 * Double.Parse(txtBase.Text) * Double.Parse(txtHeight.Text)).ToString() End Sub End Class
Learn more about our help with Assignments: Visual Basic
Comments
Assignment Expert
01.04.14, 15:50
anis
24.03.14, 10:36
write a project in visual basic to design a suitable form to allow the
uses to enter name of salesman and sales amount and than calculate and
display commission.
Leave a comment
Thank you! Your comments have been successfully added. However, they need to be checked by the moderator before being published.
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
write a project in visual basic to design a suitable form to allow the uses to enter name of salesman and sales amount and than calculate and display commission.
Leave a comment