/// <summary> /// Removes a project file path from the recent projects list. /// </summary> /// <param name="projectName"> /// Path of the project file. /// </param> public static void RemoveFromRecentProjects(string projectName) { if (RecentProjectsList.Contains(projectName)) { RecentProjectsList.Remove(projectName); } }
public void RefreshLastProjects() { if (!RecentProjectsList.IsInitialized) { return; } if (RecentProjectsList.Model == null) { RecentProjectsList.Model = new LastProjectsModel(); } else { RecentProjectsList.Refresh(); } }