Hide

SftTree/NET 2.0 - Tree Control for Windows Forms

Display
Print

Manually Adding .NET Components To The Toolbox

Controls are automatically added to Visual Studio's Toolbox (up to Visual Studio 2015), except for Express Editions of Visual Studio.

To add a control to your Toolbox, follow these simple steps:

Open a form in your project in design view. Right-click anywhere on the Toolbox and select "Add Tab" from the popup menu.

Add Tab

This creates a new tab for the control to be added.

To complete the new tab, enter a suitable tab label. In this example, we enter "Softel vdm, Inc." and press Return.

Tab Label

Once the tab has been added, we are ready to add controls to it.

Right-click on the area below the tab heading and select "Choose Items..." from the popup menu.

Choose Items...

This will present the Choose Toolbox Items dialog, which is used to locate the assembly for the control you want to add.

Choose Toolbox Items Dialog

All controls published by us are located in a product specific subdirectory located at C:\Program Files\Softelvdm\<i>productname</i>\Bin or C:\Program Files (x86)\Softelvdm\<i>productname</i>\Bin (substitute the actual product name).

Locate the assembly and click accept. In this example, the assembly for SftTree/NET 2.0 is added.

Locate Assembly

This will return you to the Choose Toolbox Items dialog which now shows the newly added assembly.

Choose Toolbox Items Dialog

Finally, click OK and the control now appears in your Toolbox.

Toolbox