示例#1
0
 private void buttonNew_Click(object sender, EventArgs e)
 {
     Wizard wiz = new Wizard();
     if (DialogResult.OK == wiz.ShowDialog())
     {
         OpenConfig(wiz.savepath);
     }
 }
示例#2
0
 private void buttonEdit_Click(object sender, EventArgs e)
 {
     if (string.IsNullOrWhiteSpace(CurrentConfigPath))
     {
         buttonOpen_Click(sender, e);
     }
     Wizard wiz = new Wizard(CurrentConfigPath);
     if (DialogResult.OK == wiz.ShowDialog())
     {
         OpenConfig(CurrentConfigPath);
     }
 }