In order to do this, we have to use "Kautohelper.dll", which is shared by HowKteam.Com.
First of all, we initialize class AutoControl
Click at certain point:
public static void MouseClick(Point point, EMouseKey mouseKey = EMouseKey.LEFT);Emun MouseKey:
public static void MouseClick(int x, int y, EMouseKey mouseKey = EMouseKey.LEFT);
public enum EMouseKey
{
LEFT = 0,
RIGHT = 1,
DOUBLE_LEFT = 2,
DOUBLE_RIGHT = 3
}
Bonous Mouse Move:
Cursor.Position = new Point(x,y);

Không có nhận xét nào:
Đăng nhận xét