예제 #1
0
 private void OnAddParameterButtonClick(object sender, EventArgs e)
 {
     using (var dlg = new AddParameterDialog(_configView.WorkingEnvironment, _configView.Repository))
     {
         dlg.Run(_configView);
     }
 }
예제 #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();
         }
     }
 }