ParentControlDesigner.InvokeCreateTool 方法

定义

重要

此 API 不符合 CLS。

从指定的 ToolboxItem 创建工具。

protected:
 static void InvokeCreateTool(System::Windows::Forms::Design::ParentControlDesigner ^ toInvoke, System::Drawing::Design::ToolboxItem ^ tool);
protected static void InvokeCreateTool (System.Windows.Forms.Design.ParentControlDesigner toInvoke, System.Drawing.Design.ToolboxItem tool);
[System.CLSCompliant(false)]
protected static void InvokeCreateTool (System.Windows.Forms.Design.ParentControlDesigner toInvoke, System.Drawing.Design.ToolboxItem tool);
static member InvokeCreateTool : System.Windows.Forms.Design.ParentControlDesigner * System.Drawing.Design.ToolboxItem -> unit
[<System.CLSCompliant(false)>]
static member InvokeCreateTool : System.Windows.Forms.Design.ParentControlDesigner * System.Drawing.Design.ToolboxItem -> unit
Protected Shared Sub InvokeCreateTool (toInvoke As ParentControlDesigner, tool As ToolboxItem)

参数

toInvoke
ParentControlDesigner

要与该工具一起使用的 ParentControlDesigner

tool
ToolboxItem

要从其创建工具的 ToolboxItem

属性

适用于

另请参阅