I want to draw lines in a picture using mouse such that when I press the mouse button the line starts and when I release the button, the line finishes at that point. This is just like drawing lines on a form at design time but I want to do the same at run time. The program should draw as many lines as i wish.

Does anyone know the solution to it? Please explain me how to do it.


Thanks.