Creating UserControls
The following section describes how RobotStudio Controls can be used in Visual Studio and how user controls created from RobotStudio Controls be used in RobotStudio.
Adding RobotStudio Controls in Visual Studio Toolbox
You can add items to the Toolbox, such as controls, that are located on your computer, a network share, or on the Web.
Use the Choose Toolbox Items dialog box to add items located on your local computer or on a network share to the Toolbox.
To add items from your computer or network
On the Tools menu, click Choose Toolbox Items.
Go to .NET Framework Components and Click on Browse. The Open dialog box appears.
Go to
%ProgramFiles(X86)%\ABB\SDK\RobotStudio version SDK
folder and add ABB.Robotics.RobotStudio.Stations.Forms.Click OK. The controls are as shown below.
Creating a UserControl using RobotStudio Controls
To create any User Control, you follow a series of steps. The major steps are as follows.
Create Robot
Studio Addin project. Add a new Windows Control file into the project.
Draw the user interface by selecting other controls from the toolbox that define how you want your control to work. Add NumericTextBox and Position Control.
Create any additional properties or events that you want.
Create any methods that you want.
Use the control in RobotStudio Addin inorder to invoke it or display it. Refer to Creating Tool
Window or Creating DocumentWindow on how to add the user control in RobotStudio.Build the RobotStudio Addin project and view the result in RobotStudio.