예제 #1
0
        private void InitContentItems()
        {
            _contentItems.Clear();
            _orderedContentItems.Clear();

            ArchAngel.Interfaces.Controls.ContentItems.ContentItem newContentItem;
            int stepNum = 1;

            // Columns
            newContentItem = new FilterWizard.ucFilterColumns(this);
            _contentItems.Add(ScreenNames.Columns, newContentItem);
            _orderedContentItems.Add(newContentItem);

            // ReturnOrder
            newContentItem = new FilterWizard.ucFilterReturnOrder(this);
            _contentItems.Add(ScreenNames.ReturnOrder, newContentItem);
            _orderedContentItems.Add(newContentItem);

            // WhereClause
            newContentItem = new FilterWizard.ucFilterWhere(this);
            _contentItems.Add(ScreenNames.WhereClause, newContentItem);
            _orderedContentItems.Add(newContentItem);

            // Start
            newContentItem = new FilterWizard.ucFilterStart(this);
            _contentItems.Add(ScreenNames.Start, newContentItem);
            _orderedContentItems.Add(newContentItem);

            // Summary
            newContentItem = new FilterWizard.ucFilterSummary(this);
            _contentItems.Add(ScreenNames.Summary, newContentItem);
            _orderedContentItems.Add(newContentItem);

            //// Add event handling code for each ContentItem
            //foreach (ContentItems.ContentItem.ContentItemNames key in _contentItems.Keys)
            //{
            //    _contentItems[key].StatusChanged += new ContentItems.StatusChangedDelegate(ContentItem_StatusChanged);
            //}

            //_contentItems.Add(ScreenNames.Columns, new FilterWizard.ucFilterColumns(this));//  ContentItems.Options("Options", "Step 4 - Options", "Specify what options you want the generation engine to use."));
            //_contentItems.Add(ScreenNames.ReturnOrder, new FilterWizard.ucFilterReturnOrder(this));
            //_contentItems.Add(ScreenNames.Start, new FilterWizard.ucFilterStart(this));
            //_contentItems.Add(ScreenNames.Summary, new FilterWizard.ucFilterSummary(this));
            //_contentItems.Add(ScreenNames.WhereClause, new FilterWizard.ucFilterWhere(this));
        }
예제 #2
0
        private void InitContentItems()
        {
            _contentItems.Clear();
            _orderedContentItems.Clear();

            ArchAngel.Interfaces.Controls.ContentItems.ContentItem newContentItem;
            int stepNum = 1;

            // Columns
            newContentItem = new FilterWizard.ucFilterColumns(this);
            _contentItems.Add(ScreenNames.Columns, newContentItem);
            _orderedContentItems.Add(newContentItem);

            // ReturnOrder
            newContentItem = new FilterWizard.ucFilterReturnOrder(this);
            _contentItems.Add(ScreenNames.ReturnOrder, newContentItem);
            _orderedContentItems.Add(newContentItem);

            // WhereClause
            newContentItem = new FilterWizard.ucFilterWhere(this);
            _contentItems.Add(ScreenNames.WhereClause, newContentItem);
            _orderedContentItems.Add(newContentItem);

            // Start
            newContentItem = new FilterWizard.ucFilterStart(this);
            _contentItems.Add(ScreenNames.Start, newContentItem);
            _orderedContentItems.Add(newContentItem);

            // Summary
            newContentItem = new FilterWizard.ucFilterSummary(this);
            _contentItems.Add(ScreenNames.Summary, newContentItem);
            _orderedContentItems.Add(newContentItem);

            //// Add event handling code for each ContentItem
            //foreach (ContentItems.ContentItem.ContentItemNames key in _contentItems.Keys)
            //{
            //    _contentItems[key].StatusChanged += new ContentItems.StatusChangedDelegate(ContentItem_StatusChanged);
            //}

            //_contentItems.Add(ScreenNames.Columns, new FilterWizard.ucFilterColumns(this));//  ContentItems.Options("Options", "Step 4 - Options", "Specify what options you want the generation engine to use."));
            //_contentItems.Add(ScreenNames.ReturnOrder, new FilterWizard.ucFilterReturnOrder(this));
            //_contentItems.Add(ScreenNames.Start, new FilterWizard.ucFilterStart(this));
            //_contentItems.Add(ScreenNames.Summary, new FilterWizard.ucFilterSummary(this));
            //_contentItems.Add(ScreenNames.WhereClause, new FilterWizard.ucFilterWhere(this));
        }