public ObservableCollection <WizardPage> GetWizardPages()
        {
            if (selectEditableLayers == null)
            {
                SelectLayers selectLayers = new SelectLayers();
                selectLayers.DataContext = Configuration;
                selectEditableLayers     = new WizardPage()
                {
                    Content    = selectLayers,
                    Heading    = ESRI.ArcGIS.Mapping.Controls.Editor.Resources.Strings.SelectLayersHeader,
                    InputValid = true
                };
            }

            if (editorOptions == null)
            {
                EditorOptions options = new EditorOptions();
                options.DataContext = Configuration;
                editorOptions       = new WizardPage()
                {
                    Content    = options,
                    Heading    = ESRI.ArcGIS.Mapping.Controls.Editor.Resources.Strings.EditorOptionsHeader,
                    InputValid = true
                };
            }

            // Add pages to wizard
            ObservableCollection <WizardPage> pages = new ObservableCollection <WizardPage>();

            pages.Add(selectEditableLayers);
            pages.Add(editorOptions);
            return(pages);
        }
        public ObservableCollection<WizardPage> GetWizardPages()
        {
            if (selectEditableLayers == null)
            {
                SelectLayers selectLayers = new SelectLayers();
                selectLayers.DataContext = Configuration;
                selectEditableLayers = new WizardPage()
                {
                    Content = selectLayers,
                    Heading = ESRI.ArcGIS.Mapping.Controls.Editor.Resources.Strings.SelectLayersHeader,
                    InputValid = true
                };
            }

            if (editorOptions == null)
            {
                EditorOptions options = new EditorOptions();
                options.DataContext = Configuration;
                editorOptions = new WizardPage()
                {
                    Content = options,
                    Heading = ESRI.ArcGIS.Mapping.Controls.Editor.Resources.Strings.EditorOptionsHeader,
                    InputValid = true
                };
            }

            // Add pages to wizard
            ObservableCollection<WizardPage> pages = new ObservableCollection<WizardPage>();
            pages.Add(selectEditableLayers);
            pages.Add(editorOptions);
            return pages;
        }