public AutoHandle() { Actions = new List <AutoAction>(); tmpActions = new BindingList <AutoAction>(); Clicker = new AutoClicker(); Key = new AutoKey(); rnd = new Random(); }
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); AutoClicker autoclicker = new AutoClicker(); autoclicker.Text = "Auto Clicker"; Application.Run(autoclicker); }
private void Form1_Load(object sender, EventArgs e) { clicker = new AutoClicker(); LoadSettings(); ClickTypeHandler(null, null); LocationHandler(null, null); DelayHandler(null, null); CountHandler(null, null); clicker.Finished += HandleFinished; }
private void Form1_Load(object sender, EventArgs e) { clicker = new AutoClicker(); LoadSettings(); ClickTypeHandler(null, null); LocationHandler(null, null); DelayHandler(null, null); CountHandler(null, null); clicker.NextClick += HandleNextClick; clicker.Finished += HandleFinished; /* * Content.Text = "程序集版本:" + System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString() +"\n"; * Content.Text += "文件版本:" + Application.ProductVersion.ToString() +"\n"; * Content.Text += "部署版本:" + System.Deployment.Application.ApplicationDeployment.CurrentDeployment.CurrentVersion.ToString(); */ this.Text = this.Text + " V" + System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString(); }
private void HandleNextClick(object sender, AutoClicker.NextClickEventArgs e) { countdownThread = new Thread(() => CountDown(e.NextClick)); countdownThread.Start(); }
private void Form1_Load(object sender, EventArgs e) { clicker = new AutoClicker(); LoadSettings(); ClickTypeHandler(null, null); LocationHandler(null, null); DelayHandler(null, null); CountHandler(null, null); clicker.NextClick += HandleNextClick; clicker.Finished += HandleFinished; }