Пример #1
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     desuBot = new DesuBot();
     Application.Run(desuBot);
 }
Пример #2
0
 public static void progressBarPlus(DesuBot desuBot)
 {
     desuBot.Invoke(new Action(() => { if (desuBot.progressBar.Value + 1 <= desuBot.progressBar.Maximum)
                                       {
                                           desuBot.progressBar.Value++;
                                       }
                               }));
 }
Пример #3
0
 private void Captcha_Load(object sender, EventArgs e)
 {
     DesuBot main = this.Owner as DesuBot;
     //if (main != null)
     //{
     //    string s = richCaptcha.Text;
     //    main.captchaKey = "";
     //    pictureBox1.ImageLocation = main.captchaUrl;
     //}
 }