Help with coding for GUI
Posted by gart on December 20, 2001 9:24 PM
I need to be able to calculate the area of a triangle and place it into a list box. The GUI will have 3 text boxes to enter the lengths of the side to be used in the formulas. After putting the area in a separate list box I need it to draw the triangle in a picture box with the same command button.
The 3 corners of the triangle need to be (0,0); (c,0); and (x,y)
a,b,c are the three respective sides entered into the text boxes.
I would really appreciate help with this. I have Visual Basic to design the GUI if someone could help me with the code with the formulas.
Thanks a ton