示例#1
0
        private void Init()
        {
            marrFilePaths = new List <string>();

            mctlWelcomePage          = new ctlMSMSWelcomeWizPage();
            mctlSelectFromLabKeyPage = new ctlMSMSSelectFilesFromDBFilterWizPage(rConnector);
            mctlSelectHDDPage        = new ctlMSMSSelectFromHDDWizPage();
            mctlParaPage             = new ctlMSMSparaWizPage();
            mctlLabKeyParaPage       = new ctlMSMSLabKeyParaWizPage();
            mctlPerformPage          = new ctlMSMSPerformWizPage();
            mctlCompletedPage        = new ctlMSMSCompleteWizPage();

            mctlWelcomePage.Dock          = DockStyle.Fill;
            mctlSelectFromLabKeyPage.Dock = DockStyle.Fill;
            mctlSelectHDDPage.Dock        = DockStyle.Fill;
            mctlParaPage.Dock             = DockStyle.Fill;
            mctlLabKeyParaPage.Dock       = DockStyle.Fill;
            mctlPerformPage.Dock          = DockStyle.Fill;
            mctlCompletedPage.Dock        = DockStyle.Fill;


            mctlWelcomePage.WizardNext          += mctlWelcomePage_WizardNext;
            mctlSelectFromLabKeyPage.WizardNext += mctlSelectFromLabKeyPage_WizardNext;
            mctlSelectFromLabKeyPage.WizardBack += mctlSelectFromLabKeyPage_WizardBack;
            mctlSelectHDDPage.WizardNext        += mctlSelectHDDPage_WizardNext;
            mctlSelectHDDPage.WizardBack        += mctlSelectHDDPage_WizardBack;
            mctlParaPage.WizardNext             += mctlparaPage_WizardNext;
            mctlParaPage.WizardBack             += mctlparaPage_WizardBack;
            mctlLabKeyParaPage.WizardNext       += mctlLabKeyParaPage_WizardNext;
            mctlLabKeyParaPage.WizardBack       += mctlLabKeyParaPage_WizardBack;
            mctlPerformPage.WizardNext          += mctlPerformPage_WizardNext;
            mctlPerformPage.WizardBack          += mctlPerformPage_WizardBack;
            mctlCompletedPage.WizardFinish      += mctlCompletedPage_WizardFinish;
            mctlCompletedPage.WizardBack        += mctlCompletedPage_WizardBack;

            this.Pages.Add(mctlWelcomePage);
            this.Pages.Add(mctlSelectFromLabKeyPage);
            this.Pages.Add(mctlSelectHDDPage);
            this.Pages.Add(mctlParaPage);
            this.Pages.Add(mctlLabKeyParaPage);
            this.Pages.Add(mctlPerformPage);
            this.Pages.Add(mctlCompletedPage);
        }
示例#2
0
        private void Init()
        {
            marrFilePaths = new List<string>();

            mctlWelcomePage = new ctlMSMSWelcomeWizPage();
            mctlSelectFromLabKeyPage = new ctlMSMSSelectFilesFromDBFilterWizPage(rConnector);
            mctlSelectHDDPage = new ctlMSMSSelectFromHDDWizPage();
            mctlParaPage = new ctlMSMSparaWizPage();
            mctlLabKeyParaPage = new ctlMSMSLabKeyParaWizPage();
            mctlPerformPage = new ctlMSMSPerformWizPage();
            mctlCompletedPage = new ctlMSMSCompleteWizPage();

            mctlWelcomePage.Dock = DockStyle.Fill;
            mctlSelectFromLabKeyPage.Dock = DockStyle.Fill;
            mctlSelectHDDPage.Dock = DockStyle.Fill;
            mctlParaPage.Dock = DockStyle.Fill;
            mctlLabKeyParaPage.Dock = DockStyle.Fill;
            mctlPerformPage.Dock = DockStyle.Fill;
            mctlCompletedPage.Dock = DockStyle.Fill;

            mctlWelcomePage.WizardNext += mctlWelcomePage_WizardNext;
            mctlSelectFromLabKeyPage.WizardNext += mctlSelectFromLabKeyPage_WizardNext;
            mctlSelectFromLabKeyPage.WizardBack += mctlSelectFromLabKeyPage_WizardBack;
            mctlSelectHDDPage.WizardNext += mctlSelectHDDPage_WizardNext;
            mctlSelectHDDPage.WizardBack += mctlSelectHDDPage_WizardBack;
            mctlParaPage.WizardNext += mctlparaPage_WizardNext;
            mctlParaPage.WizardBack += mctlparaPage_WizardBack;
            mctlLabKeyParaPage.WizardNext += mctlLabKeyParaPage_WizardNext;
            mctlLabKeyParaPage.WizardBack += mctlLabKeyParaPage_WizardBack;
            mctlPerformPage.WizardNext += mctlPerformPage_WizardNext;
            mctlPerformPage.WizardBack += mctlPerformPage_WizardBack;
            mctlCompletedPage.WizardFinish += mctlCompletedPage_WizardFinish;
            mctlCompletedPage.WizardBack += mctlCompletedPage_WizardBack;

            this.Pages.Add(mctlWelcomePage);
            this.Pages.Add(mctlSelectFromLabKeyPage);
            this.Pages.Add(mctlSelectHDDPage);
            this.Pages.Add(mctlParaPage);
            this.Pages.Add(mctlLabKeyParaPage);
            this.Pages.Add(mctlPerformPage);
            this.Pages.Add(mctlCompletedPage);
        }