Click or drag to resize
ToolControlManagerRegisterToolCommand Method
Registers a Command corresponding to a Tool Control, to make it posible to display it in the specified host. When calling ShowTool(Type, String), only registered hosts will be considered. If the Tool Control should be able to be displayed in several hosts, it has to registered with each host.

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 void RegisterToolCommand(
	string commandId,
	Control host
)

Parameters

commandId
Type: SystemString
The identity of the command. (CommandBarControl.Id), to register."
host
Type: System.Windows.FormsControl
The Tool Host Control for which the command should be registered.
Version Information

Supported in: 1.0.0.0
See Also