I have to draw a line with a starting and ending point, I can do this line if I provide these coordinates through the keyboard, but I want to do this by clicking the mouse, the first would be the starting point and the second the end and the data the algorithm would plot the straight, how should I do?
It's a Windows Forms application in C #