Provides core functionality for all the ParentControlDesigner.CreateTool(System.Drawing.Design.ToolboxItem) methods.
- tool
- The System.Drawing.Design.ToolboxItem to create a component from.
- x
- The horizontal position, in design-time view coordinates, of the location of the left edge of the tool, if a size is specified; the horizontal position of the center of the tool, if no size is specified.
- y
- The vertical position, in design-time view coordinates, of the location of the top edge of the tool, if a size is specified; the vertical position of the center of the tool, if no size is specified.
- width
- The width of the tool. This parameter is ignored if the hasSize parameter is set to false.
- height
- The height of the tool. This parameter is ignored if the hasSize parameter is set to false.
- hasLocation
- true if a location for the component is specified; false if the component is to be positioned in the center of the currently selected control.
- hasSize
- true if a size for the component is specified; false if the default height and width values for the component are to be used.
An array of components created from the tool.
This is the only erload:System.Windows.Forms.Design.ParentControlDesigner.CreateTool method that can be overridden.