private void button1_Click(object sender, EventArgs e) { frm = new frmGoldBot(); frm.StartBot(); button1.Enabled = false; button1.Text = "Einloggen..."; timer1.Start(); frm.Show(); }
public frmGoldMain(string Username, string Passwort, string Welt) { Settings2._Username = Username; Settings2._Password = Passwort; Settings2._World = Welt; Settings2._Autoarbeiter = true; _frmGoldBot = new frmGoldBot(); _frmGoldBot.StartBot(); InitializeComponent(); }