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