private void miEditDescription_Click(object sender, EventArgs e) { if (_isExiting) { return; } foreach (ThreadWatcher watcher in SelectedThreadWatchers) { using (frmThreadDescription descriptionForm = new frmThreadDescription()) { descriptionForm.Description = watcher.Description; if (descriptionForm.ShowDialog(this) == DialogResult.OK) { watcher.Description = descriptionForm.Description; DisplayDescription(watcher); _saveThreadList = true; } } break; } }
private void miEditDescription_Click(object sender, EventArgs e) { if (_isExiting) return; foreach (ThreadWatcher watcher in SelectedThreadWatchers) { using (frmThreadDescription descriptionForm = new frmThreadDescription()) { descriptionForm.Description = watcher.Description; if (descriptionForm.ShowDialog(this) == DialogResult.OK) { watcher.Description = descriptionForm.Description; DisplayDescription(watcher); _saveThreadList = true; } } break; } }