// Действие запуска сканирования private void runThread() { if (this.ScanBtnStat == false) { this.Text = "DNSBL Checker: Инициализация..."; this.ResultBox.Items.Clear(); this.ScanBtnStat = true; this.AddressEdit.Enabled = false; UpdateLink.Enabled = false; this.StopBtn.Enabled = true; this.ScanBtn.Enabled = false; this.toolStripProgressBar.Visible = true; if (this.AddressEdit.Text.Length > 2) { string Address = this.AddressEdit.Text.Trim(); CFileRender.UpdateCahce(Address); // Запускаем в отдельном потоке this.BootThread = new Thread(() => RunScan(Address)); BootThread.IsBackground = true; BootThread.Start(); } else { MessageBox.Show("Введите IP адрес или домен!", "Ошибка"); ResetForm(); } } }