Example #1
0
        public static void Release(MouseButton button, Point position)
        {
            switch (button)
            {
            case MouseButton.Left:
                Win32Input.MouseEvent(Win32Input.MOUSEEVENTF_LEFTUP, position);
                break;

            case MouseButton.Right:
                Win32Input.MouseEvent(Win32Input.MOUSEEVENTF_RIGHTUP, position);
                break;
            }
        }
Example #2
0
 public static void Move(Point position)
 {
     Win32Input.MouseEvent(Win32Input.MOUSEEVENTF_MOVE, position);
 }