Exemplo n.º 1
0
		static void CreateToolboxService()
		{
			Debug.Assert(WorkbenchSingleton.InvokeRequired == false);
			if (toolboxService == null) {
				sideBar = DesignerSideBar.Instance;
				LoadToolbox();
				toolboxService = new ICSharpCode.FormsDesigner.Services.ToolboxService();
				ReloadSideTabs(false);
				toolboxService.SelectedItemUsed += new EventHandler(SelectedToolUsedHandler);
				sideBar.SideTabDeleted += SideTabDeleted;
			}
		}
Exemplo n.º 2
0
		static ToolboxProvider()
		{
			sideBar = FormsDesignerSideBar;
		}