private void MouseRightClick(int x, int y) { Afkvalley.MouseMove(x, y); Thread.Sleep(timeFastWait); Afkvalley.MouseClick("right", 0); Thread.Sleep(timeFastWait); Afkvalley.MouseClick("right", 1); Thread.Sleep(timeWait); }
private void MouseSelectMove(int xStart, int yStart, int xEnd, int yEnd) { Afkvalley.MouseMove(xStart, yStart); Thread.Sleep(timeWait); Afkvalley.MouseClick("left", 0); Thread.Sleep(timeWait); Afkvalley.MouseMove(xEnd, yEnd); Thread.Sleep(timeWait); Afkvalley.MouseClick("left", 1); Thread.Sleep(timeWait); }