private void editBtn_Click(object sender, EventArgs e) { using (var dlg = new EventActionFilterEditor(onEventCustomText.Text)) { if (dlg.ShowDialog(this) == DialogResult.OK) { onEventCustomText.Text = dlg.Subscription; eventBasicRadio.Enabled = TrySetBasic(); } } }