/// <summary> /// This event is raised when the form is first shown. /// </summary> /// <param name="sender">The sender of the event.</param> /// <param name="e">The event information.</param> private void IDE_Load(object sender, EventArgs e) { // Load the main menu. this.MainMenuStrip = ActionWrapper.GetMainMenu(Central.Manager.MenuManager.MainMenu); this.Controls.Add(this.MainMenuStrip); // Load the tool bar. this.c_ToolStripContainer.TopToolStripPanel.Controls.Add(ActionWrapper.GetToolBar(Central.Manager.MenuManager.ToolBar)); // Set up the workspace. Central.Manager.ToolsManager = new Moai.Platform.Windows.Tools.Manager(); Central.Manager.ToolsManager.Show(typeof(Moai.Platform.Windows.Tools.ErrorListTool)); Central.Manager.ToolsManager.Show(typeof(Moai.Platform.Windows.Tools.ImmediateWindowTool)); Central.Manager.ToolsManager.Show(typeof(Moai.Platform.Windows.Tools.SolutionExplorerTool)); // Show the start page. this.ShowDock(new Moai.Platform.Windows.Designers.Start.Designer(null), ToolPosition.Document); }
/// <summary> /// This event is raised when the window is shown. /// </summary> protected override void ShowEvent(QShowEvent arg1) { base.ShowEvent(arg1); // Load the main menu. this.SetMainMenu(ActionWrapper.GetMainMenu(Central.Manager.MenuManager.MainMenu)); // Load the tool bar. this.SetToolBar(ActionWrapper.GetToolBar(Central.Manager.MenuManager.ToolBar)); // Set up the workspace. Central.Manager.ToolsManager = new Moai.Platform.Linux.Tools.Manager(); //Central.Manager.ToolsManager.Show(typeof(Moai.Platform.Linux.Tools.ErrorListTool)); //Central.Manager.ToolsManager.Show(typeof(Moai.Platform.Linux.Tools.ImmediateWindowTool)); Central.Manager.ToolsManager.Show(typeof(Moai.Platform.Linux.Tools.SolutionExplorerTool)); // Show the start page. this.ShowDock(new Moai.Platform.Linux.Designers.Start.Designer(), ToolPosition.Document); }