示例#1
0
        private void MainForm_FormClosed(object sender, FormClosedEventArgs e)
        {
            StoreViewsLayout(UserLayoutFileName);

            AppSettings.SaveSettings(settings =>
            {
                settings.RecentFilesList = new StringCollection();
                settings.RecentFilesList.AddRange(m_recentMenu.GetFiles());
            });
        }
示例#2
0
        private void MainForm_FormClosed(object sender, FormClosedEventArgs e)
        {
            StoreViewsLayout(UserLayoutFileName);

            Properties.Settings.Default.RecentFilesList = new StringCollection();
            Properties.Settings.Default.RecentFilesList.AddRange(m_recentMenu.GetFiles());

            Properties.Settings.Default.Save();

            SimulationHandler.Finish();
        }