📜  如何获取鼠标位置c#代码示例

📅  最后修改于: 2022-03-11 14:49:17.739000             🧑  作者: Mango

代码示例1
//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);