Ejemplo n.º 1
0
 //"Tools -> Options" menu item
 private void menu_ToolsOptionsItem_Click(object sender, EventArgs e)
 {
     OptionsDialog.SSOptionsDialog ssod = new OptionsDialog.SSOptionsDialog(GuiPrefs);
     ssod.StartPosition = FormStartPosition.CenterParent;
     if (ssod.ShowDialog() == DialogResult.OK)
     {
         //OK was pressed, update the program with new prefs
         GuiPrefs = ssod.GuiPrefs;
         ConfigureAutoBackupTimer();
     }
 }
Ejemplo n.º 2
0
 //"Tools -> Options" menu item
 private void menu_ToolsOptionsItem_Click(object sender, EventArgs e)
 {
     OptionsDialog.SSOptionsDialog ssod = new OptionsDialog.SSOptionsDialog(GuiPrefs);
     ssod.StartPosition = FormStartPosition.CenterParent;
     if(ssod.ShowDialog() == DialogResult.OK) {
         //OK was pressed, update the program with new prefs
         GuiPrefs = ssod.GuiPrefs;
         ConfigureAutoBackupTimer();
     }
 }