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.

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.

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.