void CreateToolBars() { if (ToolBars == null) { ToolBars = ToolbarService.CreateToolbars(this, "/SharpDevelop/Workbench/ToolBar"); } }
void CreateToolBars() { if (ToolBars == null) { #if ModifiedForAltaxo ToolBars = ToolbarService.CreateToolbars(this, toolBarPath); #else ToolBars = ToolbarService.CreateToolbars(this, "/SharpDevelop/Workbench/ToolBar"); #endif } }
void CreateToolBars() { ToolbarService toolBarService = (ToolbarService)ServiceManager.Services.GetService(typeof(ToolbarService)); ToolBars = null; ToolBars = toolBarService.CreateToolbars(); foreach (Bar toolBar in ToolBars) { if (dotNetBarManager1.Bars.Contains(toolBar) == false) { dotNetBarManager1.Bars.Add(toolBar); } toolBar.DockSide = eDockSide.Top; } }