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; } } }
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; } } }