Пример #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;
         }
     }
 }
Пример #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;
         }
     }
 }