ParentControlDesigner::CreateTool Method (ToolboxItem^, Rectangle)
.NET Framework (current version)
Creates a component or control from the specified tool and adds it to the current design document within the bounds of the specified rectangle.
Assembly: System.Design (in System.Design.dll)
Parameters
- tool
-
Type:
System.Drawing.Design::ToolboxItem^
The ToolboxItem to create a component from.
- bounds
-
Type:
System.Drawing::Rectangle
A Rectangle indicating the location and size for the component created from the tool. The X and Y values of the Rectangle indicate the design-time view screen coordinates of the upper-left corner of the component.
.NET Framework
Available since 1.1
Available since 1.1
Show: