Esempio n. 1
0
 private void configurationToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (ConfigurationForm frm = new ConfigurationForm())
     {
         if (frm.ShowDialog(this) == DialogResult.OK)
         {
             SetConfigFromProperties();
             timerAutoSaveTimer.Interval = Properties.Settings.Default.AutoSaveTimerMins * 60 * 1000;
             timerAutoSaveTimer.Enabled  = Properties.Settings.Default.AutoSaveEnabled;
         }
     }
 }
Esempio n. 2
0
 private void configurationToolStripMenuItem_Click(object sender, EventArgs e)
 {
     using (ConfigurationForm frm = new ConfigurationForm())
     {
         if (frm.ShowDialog(this) == DialogResult.OK)
         {
             SetConfigFromProperties();
             timerAutoSaveTimer.Interval = Properties.Settings.Default.AutoSaveTimerMins * 60 * 1000;
             timerAutoSaveTimer.Enabled = Properties.Settings.Default.AutoSaveEnabled;
         }
     }
 }