954,500 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

C# code

i want to draw a line in windows form in c# with the help of mouse and by clicking on line button it should allow me to draw a line on form or panel as in paint it allows us to do so and while drawing the 2nd line first line should not disappear.

rpley soon.

shrutipopat
Newbie Poster
12 posts since Sep 2011
Reputation Points: 10
Solved Threads: 3
 

Do the same thing as for a rectangle, but store the points where the mouse down and moouse move (up) go to and draw them in the Paint method.

Momerath
Nearly a Senior Poster
3,384 posts since Aug 2010
Reputation Points: 1,232
Solved Threads: 558
 
Do the same thing as for a rectangle, but store the points where the mouse down and moouse move (up) go to and draw them in the Paint method.

thank you.

shrutipopat
Newbie Poster
12 posts since Sep 2011
Reputation Points: 10
Solved Threads: 3
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You