Редагувати

Поділитися через


IToolboxUser.ToolPicked(ToolboxItem) Method

Definition

Selects the specified tool.

public:
 void ToolPicked(System::Drawing::Design::ToolboxItem ^ tool);
public void ToolPicked (System.Drawing.Design.ToolboxItem tool);
abstract member ToolPicked : System.Drawing.Design.ToolboxItem -> unit
Public Sub ToolPicked (tool As ToolboxItem)

Parameters

tool
ToolboxItem

The ToolboxItem to select.

Remarks

ToolPicked 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 ToolPicked on tools that are enabled in the toolbox.

Applies to

See also