EditSetViewer

Land Desktop Map 3D Samples

 
EditSetViewer
 
 
 

The EditSetViewer command calls the EditSetViewerCommand method, which does the following:

  1. Create a window based on the PaletteSet style with the caption "Edit Set Viewer".
  2. Set the style of the EditSet Viewer window. This controls things like showing the menu or making the window dockable within the Map 3D user interface.
  3. Adds event handlers for the PaletteSetDestroy and StateChanged events. In response to a StateChanged event, the PaletteSetStateChanged function is called and will set the keyboard focus to the window whenever it is shown. In response to a PaletteSetDestroy event, the PaletteSetDestroy function is called to clean up the event handlers.
  4. Adds the Viewer user control to the window. The Viewer user control is defined in the Viewer.cs file of the EditSetViewer project.
  5. Make the window visible by setting the Visible property of the window to True.