Pitney Bowes MapXtreme User Manual
Page 138

Chapter 7: Desktop Applications, Controls, Dialogs, and Tools
MapInfo.Windows.Dialogs Namespace
MapXtreme v7.1
138
Developer Guide
Create Theme: Step 3 of 3 dialog box (Ranged Theme) After Settings Change
Programmatic checks look for changes in the values of the Settings tab and if the theme bins need
to be recomputed after:
•
Tabbing to the Styles or Legend tab
•
Clicking the Apply button
•
Clicking the OK (accept) button
The CreateThemeWizard is accessible from many different places at design time and at runtime,
depending on the controls in your application. At design-time the CreateThemeWizard can be
accessed from the menu at the bottom of the MapControl properties window and also from the Layer
Control by right-clicking on a layer and choosing Add Theme.
Developing with the CreateThemeWizard
To add a CreateThemeWizard programmatically, follow the example code.
using MapInfo.Windows.Dialogs;
CreateThemeWizard themeWizard = new CreateThemeWizard(mapcontrol1.Map,
this);