Esempio n. 1
0
		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);
			}
		}
Esempio n. 2
0
		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;
		}