Example #1
0
        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();
            }
        }
Example #2
0
        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();
                }
            }
        }
Example #3
0
        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();
                }
            }
        }