|
In the WinForm program, you can use the system.Windows.Forms.Form.MousePosition property to get the mouse, and then subtract the coordinates of the point obtained from the position of the form (Location property) to be the relative position of the mouse. |
|