예제 #1
0
 private void loadProgParams()
 {
     ProgParams = ProgParams.Load();
     if (!ProgParams.IsSet)
     {
         Parameters frmParams = new Parameters();
         frmParams.ShowDialog();
         if (frmParams.DialogResult == DialogResult.OK)
         {
             ProgParams = frmParams.getParams();
         }
     }
 }
예제 #2
0
 private void optionsToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Parameters frmParams = new Parameters();
     frmParams.ShowDialog();
     if (frmParams.DialogResult == DialogResult.OK)
     {
         ProgParams = frmParams.getParams();
     }
 }