예제 #1
0
        /// <summary>
        /// Constructs a new ThemeWizardForm object.
        /// </summary>
        /// <param name="target">The object that this Wizard operates on.</param>
        public ThemeWizardForm(MapObjectHolder target)
        {
            InitializeComponent();

            this.target = target;

            ListViewItem item = new ListViewItem();

            item.Text = "Individual Values";
            IndividualValuesTheme theme = new IndividualValuesTheme();

            theme.Visible = false;
            item.Tag      = theme;
            listViewThemes.Items.Add(item);

            item      = new ListViewItem();
            item.Text = "Value Ranges";
            RangeTheme theme2 = new RangeTheme();

            theme2.Visible = false;
            item.Tag       = theme2;
            listViewThemes.Items.Add(item);

            buttonBack.Enabled = false;
            buttonNext.Enabled = false;
            pageIndex          = 1;
        }
예제 #2
0
        /// <summary>
        /// Constructs a new ThemeWizardForm object.
        /// </summary>
        /// <param name="target">The object that this Wizard operates on.</param>
        public ThemeWizardForm(MapObjectHolder target)
        {
            InitializeComponent();

            this.target = target;

            ListViewItem item = new ListViewItem();
            item.Text = "Individual Values";
            IndividualValuesTheme theme = new IndividualValuesTheme();
            theme.Visible = false;
            item.Tag = theme;
            listViewThemes.Items.Add(item);

            item = new ListViewItem();
            item.Text = "Value Ranges";
            RangeTheme theme2 = new RangeTheme();
            theme2.Visible = false;
            item.Tag = theme2;
            listViewThemes.Items.Add(item);

            buttonBack.Enabled = false;
            buttonNext.Enabled = false;
            pageIndex = 1;
        }