Example #1
0
        private void buttonNew_Click(object sender, EventArgs e)
        {
            Wizard wiz = new Wizard();

            if (DialogResult.OK == wiz.ShowDialog())
            {
                OpenConfig(wiz.savepath);
            }
        }
Example #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);
            }
        }
Example #3
0
 private void buttonNew_Click(object sender, EventArgs e)
 {
     Wizard wiz = new Wizard();
     if (DialogResult.OK == wiz.ShowDialog())
     {
         OpenConfig(wiz.savepath);
     }
 }
Example #4
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);
     }
 }