private void newProjectMenu_Click(object sender, EventArgs e) { if (!WarningToSaveProject()) { ProjectProperties properties = new ProjectProperties(); Project.Instance = new Project(); properties.DisplaySettings(); ClearOutputPanel(); ProjectExplorer.ShowProject(); ResetPanels(); ShowDebuggerState(DebuggerState.DebuggeeStopped); } }
private void projectProperties_Click(object sender, EventArgs e) { ProjectProperties properties = new ProjectProperties(); if (properties.DisplaySettings() == DialogResult.OK) { Project.Instance.IsSaved = false; ShowDebuggerState(DebuggerState.DebuggeeStopped); } ProjectExplorer.ProjectElements.Nodes[0].Text = Project.Instance.Name; }