This will be called when the user double-clicks on a toolbox item. The document designer should create a component for the given tool. Only tools that are enabled in the toolbox will be passed to this method.
[Visual Basic] Sub ToolPicked( _ ByVal tool As ToolboxItem _ ) [C#] void ToolPicked( ToolboxItem tool ); [C++] void ToolPicked( ToolboxItem* tool ) = 0; [JScript] function ToolPicked( tool : ToolboxItem );
IToolboxUser Interface | IToolboxUser Members | System.Drawing.Design Namespace