private void OptionsMenuItem_Click(object sender, EventArgs e) { using (var optionsWindow = new OptionsWindow(m_configuration)) { if (optionsWindow.ShowDialog() != DialogResult.OK) { return; } m_configurationManager.Save(m_configuration); LoadTabSettings(); } }
private void OptionsMenuItem_Click(object sender, EventArgs e) { var checkForUpdates = m_configuration.CheckForApplicationUpdates; using (var optionsWindow = new OptionsWindow(m_configuration)) { if (optionsWindow.ShowDialog() != DialogResult.OK) { return; } m_configurationStorage.Save(NFEPaths.SettingsFile, m_configuration); m_tabPages.ForEach(x => x.Initialize(this, m_configuration)); if (checkForUpdates != m_configuration.CheckForApplicationUpdates) { InitializeUpdatesChecking(); } } }
private void OptionsMenuItem_Click(object sender, EventArgs e) { var checkForUpdates = m_configuration.CheckForApplicationUpdates; using (var optionsWindow = new OptionsWindow(m_configuration)) { if (optionsWindow.ShowDialog() != DialogResult.OK) return; m_configurationManager.Save(m_configuration); m_tabPages.ForEach(x => x.Initialize(this, m_configuration)); if (checkForUpdates != m_configuration.CheckForApplicationUpdates) { InitializeUpdatesChecking(); } } }