System.Drawing.Design.IToolboxUser.ToolPicked Method

Selects the specified tool.

Syntax

public void ToolPicked (ToolboxItem tool)

Parameters

tool
The System.Drawing.Design.ToolboxItem to select.

Remarks

IToolboxUser.ToolPicked(ToolboxItem) is called when the user double-clicks on a toolbox item. The document designer should create a component for the specified tool. The Visual Studio integrated development environment will only call IToolboxUser.ToolPicked(ToolboxItem) on tools that are enabled in the toolbox.

Requirements

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