29
03/13
C#鼠标操作
#region 鼠标API /// <summary> /// 鼠标移动 /// </summary> /// <param name="X">目标x坐标</param> /// <param name="Y">目标y坐标</param> /// <returns></returns> [DllImport("user32.dll")] public static extern bool SetCursorPos(int X, int Y); [DllImport("user32.dll")] private static extern int mouse_event(int dwFlags, int dx, int dy, int cButto...