Example #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))
                );
        }
Example #2
0
 protected void SimulateRightClick()
 {
     MouseHandler.RightMouseClick();
 }
Example #3
0
 protected void SimulateLeftClick()
 {
     MouseHandler.LeftMouseClick();
 }