Beispiel #1
0
        public void MouseRightUp(int number)
        {
            var o = images[number];

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

            SetForegroundWindow(o.Hwnd);
            MouseOperations.MouseEvent(MouseOperations.MouseEventFlags.LeftDown);
        }
Beispiel #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));
        }