Click here to Skip to main content
15,890,947 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i want drawing a set rectangle in the c# in form and i can be select sevral this rectangle .
pleas help me.

What I have tried:

i want drawing a set rectangle in the c# in form and i can be select sevral this rectangle . 
Posted
Updated 18-Feb-18 21:00pm
Comments
BillWoodruff 19-Feb-18 6:58am    
Do you mean creating a shape at run-time: the user draws it ?
johannesnestler 19-Feb-18 8:44am    
So which Client-Tech are you using - WindowsForms? WPF? Should the user draw it our your program and so on. If you want a good answer - formulate a good question.

1 solution

Simple: use a Panel and it's events like MouseClick, see: Panel Class (System.Windows.Forms)[^]
 
Share this answer
 
Comments
RickZeeland 20-Feb-18 7:04am    
If you downvoted this answer please give a reason for doing so, and explain what you exactly want.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900