static public void au3_MouseDrag(int x1, int y1, int x2, int y2) { AutoItX3 au3 = new AutoItX3(); au3.MouseClickDrag("left", Xx + x1, Yy + y1, Xx + x2, Yy + y2, 0); Thread.Sleep(300); }
public void mouseDrag(string ClickSide, int x0, int y0, int x1, int y1, int speed) { auto.MouseClickDrag(ClickSide, x0, y0, x1, y1, speed); }
public void MouseClickDrag(string ClickSide, int x1, int y1, int nX2, int nY2) { auto.MouseClickDrag("LEFT", x1, y1, nX2, nY2); //strButton }