From iLab Cookbook

Toolkits: HowToIncludeSDGToolkitInTheVisualStudioToolbox

<< Back to the SDG Toolkit page

How to Include the SDG Toolkit in the Visual Studio Toolbox

To complete your installation, you need to include the SDG Toolkit components in the Visual Studio Toolbox. This needs to be done only once on your machine.

1. Before starting (and if you have not already done so), download, unzip, and save the SDG Toolkit files into a convenient folder (e.g., named SDGToolkit).

2. Open Visual Studio .NET and create a new C# Windows Application

3. (optional but recommended) Create a tab that will contain the SDGToolkit components. In the toolbox on the left of the screen, right click to raise the context menu and choose Add Tab. A form fill-in field will appear at the bottom of the toolbox. Type in SDGToolkit (or whatever name you prefer) and then select that tab after it has been created (not shown in the figures below).

4. Now right click in the Toolbox tab where you want the SDGToolkit Components to be located (e.g., the SDGToolkit tab created in the above step) and choose Customize Toolbox (Visual Studio 2002) or Add/Remove Items (Visual Studio 2003)

5. A dialog box will appear. Click on the ".NET Framework Components" tab then press the "Browse" button and find the location where you saved the SDG Toolkit files. Select the .dll located there, click "Open" then click "Ok". This will automatically add all the components in this dll to the toolbox.

6. You should now see various Sdg components in the tab, similar to what is illustrated below. These components work like other Toolbox components. For example, click on the SdgManager Tab and drag an instance onto the form (this was done in the Figure below).

7. Now go on to Tutorial 1 to actually build an SDG Toolkit application.

Retrieved from http://grouplab.cpsc.ucalgary.ca/cookbook/index.php/Toolkits/HowToIncludeSDGToolkitInTheVisualStudioToolbox
Page last modified on January 09, 2006, at 09:33 PM