Introduction
In order to be able to work with the Image Components for Win32 controls, you need
to have them on the Visual Studio Toolbox. Adding these components manually will
make them available for use on a dedicated tab in the Toolbox.
|
Steps
|
|
- Click the icon to watch the video.
|
|
|
-
Make sure the Visual Studio Toolbox is visible. (View menu > Toolbox)
-
Open a Windows Forms Application or create a new one (File > New > Project
> Windows Forms Application)
- Add a new tab.
From the Visual Studio menu, right-click the Toolbox and, from the context menu,
select Add Tab. (Figure 1). This adds a new blank tab at the top of the Toolbox
window with the tab label in editing mode.
|
Figure 1: Adding a Tab to the Toolbox
- Name the tab.
In the tab label type a name for the tab (e.g. Win32 Image Components) and then
press Enter to commit the name and exit editing mode.
- Select the components to add.
- Right-click the new tab, and, from the context menu,
select Choose Items. (Figure 2)
Figure 2: Accessing the items to select
- The Choose Toolbox Items dialog opens. (Figure 3)
Figure 3: Selecting a component in the Choose Toolbox Items dialog
-
In the dialog, select the .NET Framework Components tab.
- Review the list of components, and mark the check boxes for the components you want
to make available in the Toolbox. (Figure 3) (You may want to sort the list by Namespace
to find the desired components more easily).
Note: If a component is not available in the list, you can browse
for it in the installation path of Image Components for Win32.
[Drive]:\[Program Files]\Image Components\Examples\Assemblies\Win32\Version4\
- Add the components and finalize the procedure. Click
OK.
The dialog closes and the new tab is now configured with all the selected
components. (Figure 4)
From now on, it will be available whenever you open a Windows Forms project.
|
Toolbox Assemblies:
ImageComponents.Win32.ImgAnnotations.dll
ImageComponents.Win32.ImgBarDecoder.dll
ImageComponents.Win32.ImgBarCoder.dll
ImageComponents.Win32.ImgEdit.dll
ImageComponents.Win32.ImgScan.dll
ImageComponents.Win32.ImgThumbnails.dll
|
Figure 4: The Toolbox with several Image Components for Win32 added