コード例 #1
0
        public void MouseRightUp(int number)
        {
            var o = images[number];

            SetForegroundWindow(o.Hwnd);
            MouseOperations.MouseEvent(MouseOperations.MouseEventFlags.RightUp);
        }
コード例 #2
0
        //MOUSE
        public void MouseLeftDown(int number)
        {
            var o = images[number];

            SetForegroundWindow(o.Hwnd);
            MouseOperations.MouseEvent(MouseOperations.MouseEventFlags.LeftDown);
        }
コード例 #3
0
        public void MouseMove(int number, Point p)
        {
            var o = images[number];

            MouseOperations.SetCursorPosition(new MouseOperations.MousePoint(o.Location.X + p.X, o.Location.Y + p.Y));
        }