private void btEnvironment_Click(object sender, EventArgs e) { FrmEnvironment frm = new FrmEnvironment { Environment = EnvironmentVariables }; if (frm.ShowDialog() == System.Windows.Forms.DialogResult.OK) { DoSaveEnvironment(); } }
private void btEnvironment_Click(object sender, EventArgs e) { FrmEnvironment frm = new FrmEnvironment { Environment = EnvironmentVariables }; if (frm.ShowDialog() == System.Windows.Forms.DialogResult.OK); DoSaveEnvironment(); }