private void InvokeSettingsAndnSaveToSettingsFile()
        {
            foreach (Action action in settingsMethods)
            {
                action();
            }

            SettingsParser parser = new SettingsParser();

            parser.SaveSettings(Settings);
        }
Exemplo n.º 2
0
        protected override void OnClosed(EventArgs e)
        {
            base.OnClosed(e);

            SettingsParser parser = new SettingsParser();

            parser.SaveSettings(Settings);

            if (!LaunchedFromMainWindow)
            {
                Logging.DisposeLogging(Logfile);
            }
        }
        private void OnWindowClosed(object sender, EventArgs e)
        {
            SettingsParser parser = new SettingsParser();

            parser.SaveSettings(Settings);
        }