System.Windows.Forms.Design.DocumentDesigner.ToolPicked Method

Selects the specified tool.

Syntax

protected virtual void ToolPicked (System.Drawing.Design.ToolboxItem tool)

Parameters

tool
The System.Drawing.Design.ToolboxItem to create a component for.

Remarks

System.Drawing.Design.IToolboxUser.ToolPicked(System.Drawing.Design.ToolboxItem) is called when the user double-clicks on a toolbox item. The document designer should create a component for the specified tool. Only tools that are enabled in the toolbox will be passed to this method.

Requirements

Namespace: System.Windows.Forms.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0