コード例 #1
0
 private void saveProject()
 {
     if (!projectLoaded)
     {
         saveProjectAs();
     }
     else
     {
         saveProject(RecentProjects.First());
     }
 }
コード例 #2
0
        private void initializeProjects()
        {
            if (Properties.Settings.Default.RecentProjects != null)
            {
                RecentProjects = Properties.Settings.Default.RecentProjects.Cast <string>().ToList();
            }

            if (RecentProjects.Count() > 0)
            {
                loadProject(RecentProjects.First());
            }
        }