Add ImageBox Control

From Emgu CV: OpenCV in .NET (C#, VB, C++ and more)
Jump to: navigation, search

Adding ImageBox Control in Visual Studio (Windows Form)

  • Open your form in designer view. From Toolbox, right click in the empty space of 'General' column. This should pop up a selection menu, where 'Choose Items' selection is available, see below.
ExampleWindowsFormAddImageBoxControl1.JPG
  • Click on 'Choose Items', you will see a 'Choose Toolbox Item' Dialog, from where click the 'Browse..' button on the lower right corner of the dialog.
ExampleWindowsFormAddImageBoxControl2.JPG
  • Select 'Emgu.CV.UI.dll' file from 'Open' dialog, click the 'Open' button.
  • Now you should notice the ImageBox control has been added to the 'Choose Toolbox Items' dialog. Click 'Ok'.
ExampleWindowsFormAddImageBoxControl4.JPG

The ImageBox will be available from the 'General' column in the Toolbox area. Pull the control and drag it to the desired area on your form.

ExampleWindowsFormAddImageBoxControl5.JPG