[DllImport("User32")] public extern static void SetCursorPos(int x, int y);//声明外部函数,移动到x,y位置 [DllImport("User32")] public extern static bool GetCursorPos(ref Point lpPoint);//获取当前鼠标位置信息
2023-10-10 10:58:52
[DllImport("User32")] public extern static void SetCursorPos(int x, int y);//声明外部函数,移动到x,y位置 [DllImport("User32")] public extern static bool GetCursorPos(ref Point lpPoint);//获取当前鼠标位置信息