Working with C# environment

C# allows you to easily add ActiveX controls to your application. TerraExplorer provides three ActiveX controls for the 3D Window, Information Window and for the Navigation Map. Add them to your project and build your own custom GUI with embedded controls.

The instructions provided here refer to Microsoft Visual Studio 2005.

  1. Add the ActiveX components to the Toolbox – While in design view, right click on the Toolbox, and select Choose Items. In the dialog box select COM Components tab and select the check-boxes next to TE3DWindow Class, TEInformationWindow Class and TENavigationMap Class, and then Click OK. Three icons are added to your toolbox, the 3D Window , Information Window  and  Navigation Map controls.

  2.  

  3. Add the 3D Window to the form – Click on the 3D window control icon and draw the location of the 3D window on your form.

  4.  

  5. Add the Information Window to the form – Click on the Information Window control icon and draw the location of the Information Window on your form.

  6.  

  7. Add the Navigation Map to the form – Click on the Navigation Map control icon and draw the location of the Navigation Map on your form.