Click or drag to resize
ToolControlManagerCreateToolHost Method
Creates a host for a Tool Control. Typically Tool Controls are hosted by the browser Tool Windows. The Tool Window does not host the Tool Control directly, but uses another control as a place holder. This place holder is called the Tool Host Control, and is created by this method. When ShowTool(Type, String) is called, the Tool Control will automatically be added to the Tool host Control. Each host has an identity which makes it possible to find it using FindToolHost(String) Add the returned control to the Controls collection of the browser Tool Window.
The Tool Control itself will be added to the Controls collection of the Tool Host Control, by the manager when ShowTool(Type, String) is called.

Namespace:  ABB.Robotics.RobotStudio.Stations.Forms
Assembly:  ABB.Robotics.RobotStudio.Stations.Forms (in ABB.Robotics.RobotStudio.Stations.Forms.dll) Version: 7.0.8747.636
Syntax
C#
public static Control CreateToolHost(
	string hostId
)

Parameters

hostId
Type: SystemString
A unique string identifier of the tool host. For example "ObjectBrowser" or "ProgramBrowser".

Return Value

Type: Control
The created host Control that is used to host Tool Controls.
Version Information

Supported in: 1.0.0.0
See Also