static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); desuBot = new DesuBot(); Application.Run(desuBot); }
public static void progressBarPlus(DesuBot desuBot) { desuBot.Invoke(new Action(() => { if (desuBot.progressBar.Value + 1 <= desuBot.progressBar.Maximum) { desuBot.progressBar.Value++; } })); }
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; //} }