Beispiel #1
0
 private void _buttonEnvironmentVariables_Click(object sender, EventArgs e)
 {
     using (EnvironmentVariablesDialog dialog = new EnvironmentVariablesDialog()) {
         dialog.ApplyParams(_environmentVariables);
         if (dialog.ShowDialog(this) == DialogResult.OK)
         {
             _environmentVariables = dialog.EnvironmentVariables;
         }
     }
 }
Beispiel #2
0
 private void _buttonEnvironmentVariables_Click(object sender, EventArgs e) {
     using (EnvironmentVariablesDialog dialog = new EnvironmentVariablesDialog()) {
         dialog.ApplyParams(_environmentVariables);
         if (dialog.ShowDialog(this) == DialogResult.OK) {
             _environmentVariables = dialog.EnvironmentVariables;
         }
     }
 }