public SpamScriptForm() { InitializeComponent(); lists = new ListManager(listBoxThreads); BotUpdater.Start(); lang = new English(); MBoxState = true; UpdateLanguage(); }
private void GetReadyToSpam() { BotUpdater.Stop(); for (int i = 3; i >= 1; i--) { this.Text = lang[LanguageManager.Names.TitlePreparing] + i; Thread.Sleep(1000); } BotUpdater.Start(); }
private void buttonListEdit_Click(object sender, EventArgs e) { if (listBoxThreads.SelectedItems.Count == 1 && (IsPaused || !IsRunning)) { BotUpdater.Stop(); ListBoxEditorForm editWindow = new ListBoxEditorForm(lists, IsRunning, lang); editWindow.ShowDialog(); BotUpdater.Start(); } else if (listBoxThreads.SelectedItems.Count != 1) { ShowMessageBox(lang[LanguageManager.Names.MBListSelectError]); } else { ShowMessageBox(lang[LanguageManager.Names.MBBotActiveError]); } }