示例#1
0
        private void InstallWizard_Load(object sender, System.EventArgs args)
        {
            this.TopMost = true;
            this.Activate();
            this.TopMost = false;

            welcomeBox.Rtf = Helper.ToRtf(installer.package["/Welcome.rtf"].GetContents());
            welcomeBox.Hide();

            // Initialize the step list

            steps = new WizardStepList(this);
            steps.Add(this);

            serverAdminStep = new ServerAdminStep(this);
            AddStep(serverAdminStep);

            selectDatabaseStep = new SelectDatabaseStep(this);
            AddStep(selectDatabaseStep);

            appAccountStep = new ServiceAccountStep(this);
            AddStep(appAccountStep);

            actionRequestStep = new ActionRequestStep(this);
            AddStep(actionRequestStep);

            installStep = new InstallStep(this);
            AddStep(installStep);

            steps.StepTo(steps.FirstStep, true);
        }