/// <summary> /// Opens the specified project. /// </summary> /// <param name="project">The project to open.</param> private void OpenProject(Project project) { CloseStartPage(); CloseProject(); OpenedProject = project; var pl = project.Platform; AddMenu(pl.Gui); AddToolbar(pl.Gui); pl.Gui.OpenPads(); ShowEditorFor(project.MainItem); Text = System.IO.Path.GetFileNameWithoutExtension(project.Filename) + " - Messy Lab"; // Notofy the RecentManager that the project has been opened. RecentManager.Notify(project.Path); }
public MainForm() { InitializeComponents(); RecentManager = new RecentManager(); }
private void clearToolStripMenuItem_Click(object sender, EventArgs e) { RecentManager.Clear(); }