private void btnOutputs_Click(object sender, EventArgs e) { OutputsEditor editor = new OutputsEditor(); var res = editor.ShowDialog(this); if (res == DialogResult.OK) { } }
private void btnOutputs_Click(object sender, EventArgs e) { OutputsEditor editor = new OutputsEditor(CurrentControlSet); var res = editor.ShowDialog(this); if (res == DialogResult.OK) { } editor.Dispose(); }