Ejemplo n.º 1
0
 public AutoHandle()
 {
     Actions    = new List <AutoAction>();
     tmpActions = new BindingList <AutoAction>();
     Clicker    = new AutoClicker();
     Key        = new AutoKey();
     rnd        = new Random();
 }
Ejemplo n.º 2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            AutoClicker autoclicker = new AutoClicker();

            autoclicker.Text = "Auto Clicker";
            Application.Run(autoclicker);
        }
Ejemplo n.º 3
0
        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;
        }
Ejemplo n.º 4
0
        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();
        }
Ejemplo n.º 5
0
 private void HandleNextClick(object sender, AutoClicker.NextClickEventArgs e)
 {
     countdownThread = new Thread(() => CountDown(e.NextClick));
     countdownThread.Start();
 }
Ejemplo n.º 6
0
        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;
        }