private void saveProject() { if (!projectLoaded) { saveProjectAs(); } else { saveProject(RecentProjects.First()); } }
private void initializeProjects() { if (Properties.Settings.Default.RecentProjects != null) { RecentProjects = Properties.Settings.Default.RecentProjects.Cast <string>().ToList(); } if (RecentProjects.Count() > 0) { loadProject(RecentProjects.First()); } }