I want to create a triangle with Windows Form in Visual Studio (c# code). In Form1 I have 3 textboxes that the user enters the lengths of the sides of the triangle and 1 "Enter" button. When the button is pressed, Form2 is opened and a triangle is drawn when the mouse is clicked. Can somebody help me?
Tonny_3
0
Newbie Poster
Recommended Answers
Jump to PostCan you clarify where you are stuck? Do you need a compiled ready to use app or can you share the code section that you have trouble with?
All 3 Replies
rproffitt
2,580
"Nothing to see here."
Moderator
Tonny_3
commented:
I don't know how post my code and don't know what to post.. because i have Triangle, Rectangle and Circle classes
+0
rproffitt
2,580
"Nothing to see here."
Moderator
Tonny_3
commented:
in form1 i have buttons: draw, move, remove and etc (what can you do with shapes), in form2 you can select shape and input the lengths of sides.
+0
rproffitt
2,580
"Nothing to see here."
Moderator
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.