/// <summary> /// Gets the main menu /// </summary> /// <param name="workbench"></param> /// <returns></returns> public MenuStrip GetMainMenu(WorkbenchBase workbench) { var menu = new System.Windows.Forms.MenuStrip(); MenuService.AddItemsToMenu(menu.Items, workbench, "/Maestro/Shell/MainMenu"); //NOXLATE return(menu); }
/// <summary> /// Gets the main toolstrip /// </summary> /// <param name="workbench"></param> /// <returns></returns> public ToolStrip GetMainToolStrip(WorkbenchBase workbench) { return(ToolbarService.CreateToolStrip(workbench, "/Maestro/Shell/Toolbars/Main")); //NOXLATE }