Class ToolControlServices
Provides methods for showing a Control in the a singleton tool window.
Namespace: ABB.Robotics.RobotStudio
Assembly: ABB.Robotics.RobotStudio.dll
Syntax
public static class ToolControlServices
Methods
View SourceCloseActiveToolControl()
Closes the active tool control and removes the tool window.
Declaration
public static void CloseActiveToolControl()
CloseActiveToolControl(bool)
Closes the active tool control and optionally removes the tool window.
Declaration
public static void CloseActiveToolControl(bool hideWindow)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | hideWindow | Pass false to retain the tool control window in order to reduce flicker. |
ShowToolControl(Control, string, string[])
Shows a Control in the tool window.
Declaration
public static void ShowToolControl(Control toolControl, string helpID, string[] tabVisibility)
Parameters
| Type | Name | Description |
|---|---|---|
| Control | toolControl | Control to show. |
| string | helpID | Help ID for the control |
| string[] | tabVisibility | IDs of ribbon tabs for which the control should be visible. |
TearOffActiveToolControl()
ABB internal use.
Declaration
public static void TearOffActiveToolControl()
Events
View SourceTearOff
ABB internal use.
Declaration
public static event EventHandler<ToolControlTearOffEventArgs> TearOff
Event Type
| Type | Description |
|---|---|
| EventHandler<ToolControlTearOffEventArgs> |