Esempio n. 1
0
        protected void MoveMouse()
        {
            Point currentPos = MouseHandler.GetMousePosition();

            MouseHandler.SetMousePosition(
                Convert.ToInt32(currentPos.X) + Convert.ToInt32(Math.Round(diffX)),
                Convert.ToInt32(currentPos.Y) - Convert.ToInt32(Math.Round(diffY))
                );
        }
Esempio n. 2
0
 protected void SimulateRightClick()
 {
     MouseHandler.RightMouseClick();
 }
Esempio n. 3
0
 protected void SimulateLeftClick()
 {
     MouseHandler.LeftMouseClick();
 }