static ToolboxControl CreateToolboxControl() { ToolboxControl ctrl = new ToolboxControl(); ToolboxCategoryItemsCollection category = new ToolboxCategoryItemsCollection("Workflow"); //Adding the toolboxItems to the category. category.Tools.Add(new ToolboxItemWrapper("System.Activities.Statements.Sequence", "System.Activities, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35", null, "Sequence")); ctrl.Categories.Add(category); return(ctrl); }
static ToolboxControl CreateToolboxControl() { ToolboxControl ctrl = new ToolboxControl(); ToolboxCategoryItemsCollection category = new ToolboxCategoryItemsCollection("Workflow"); //Adding the toolboxItems to the category. category.Tools.Add(new ToolboxItemWrapper("System.Activities.Statements.Sequence", "System.Activities, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35", null, "Sequence")); ctrl.Categories.Add(category); return ctrl; }