how to get position of mouse in c# code example
Example: how to get mouse position c#
//WARNING: not just limited to your form, but to the whole sceen :)
//Getting the mouse position and storing it as a point
Point f = new Point((Size)MousePosition);