Esempio n. 1
0
 private void OnAddParameterButtonClick(object sender, EventArgs e)
 {
     using(var dlg = new AddParameterDialog(_configView.WorkingEnvironment, _configView.Repository))
     {
         dlg.Run(_configView);
     }
 }
Esempio n. 2
0
 private void _addSystemParameter_Click(object sender, EventArgs e)
 {
     using(var dlg = new AddParameterDialog(_environment, ConfigFile.System))
     {
         if(dlg.Run(this) == DialogResult.OK)
         {
             _systemCfg.Refresh();
         }
     }
 }