Esempio n. 1
0
 /**<summary>Moves the mouse and clicks for a duration.</summary>*/
 public static void SimulateClick(int x, int y, int duration)
 {
     MoveMouse(x, y);
     CppImports.MouseDown();
     Thread.Sleep(duration);
     CppImports.MouseUp();
 }
Esempio n. 2
0
 /**<summary>Presses the mouse down.</summary>*/
 public static void MouseDown()
 {
     CppImports.MouseDown();
 }
Esempio n. 3
0
 /**<summary>Clicks the mouse.</summary>*/
 public static void MouseClick()
 {
     CppImports.MouseDown();
     CppImports.MouseUp();
 }