Share via


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

屬性

適用於

另請參閱