Ejemplo n.º 1
0
		private void CreateDockWindows() {
			outputWindow = new OutputWindow();
			outputWindow.Show(dockPanel1, DockState.DockBottomAutoHide);

			projectExplorer = new ProjectExplorer();
			projectExplorer.Show(dockPanel1, DockState.DockLeft);

			propertiesWindow = new PropertiesWindow();
			propertiesWindow.Show(projectExplorer.Pane, DockAlignment.Bottom | DockAlignment.Left, .7);
			
			HookDockContents();
		}
Ejemplo n.º 2
0
		private void ViewProperties_Click(object sender, EventArgs e) {
			if (propertiesWindow == null)
			{
				propertiesWindow = new PropertiesWindow();
				propertiesWindow.Show(projectExplorer.Pane, DockAlignment.Bottom | DockAlignment.Left, .7);
				HookDockContents();
			}
			else 
			{
				propertiesWindow.Show();
			}
		}