[DllImport("User32.Dll")] public static extern long SetCursorPos(int x, int y);
Cursor.Position = new Point(positionX, positionY);