public void MouseRightUp(int number) { var o = images[number]; SetForegroundWindow(o.Hwnd); MouseOperations.MouseEvent(MouseOperations.MouseEventFlags.RightUp); }
//MOUSE public void MouseLeftDown(int number) { var o = images[number]; SetForegroundWindow(o.Hwnd); MouseOperations.MouseEvent(MouseOperations.MouseEventFlags.LeftDown); }
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)); }