コード例 #1
0
        public PasswordForm(InstallWizard wizard, string account, string password)
        {
            this.wizard   = wizard;
            this.account  = account;
            this.password = password;

            InitializeComponent();
        }
コード例 #2
0
 /// <summary>
 /// Constructs an empty list.
 /// </summary>
 /// <param name="wizard">The parent wizard form.</param>
 public WizardStepList(InstallWizard wizard)
 {
     this.wizard       = wizard;
     this.list         = new ArrayList();
     this.current      = null;
     this.skipToFinish = false;
     this.inStepTo     = false;
 }
コード例 #3
0
        public CreateDatabaseForm(InstallWizard wizard, string dataPath, string logPath)
        {
            InitializeComponent();

            this.wizard   = wizard;
            this.dataPath = dataPath;
            this.logPath  = logPath;

            if (wizard.IsSqlAzure)
            {
                // Allow the selection of the SQL Azure database size size (1 or 10GB).

                sizeLabel.Visible          = true;
                sizeLabel2.Visible         = true;
                sizeComboBox.Visible       = true;
                sizeComboBox.SelectedIndex = 0;

                // Database and log files locations cannot be customized
                // when runing on SQL Azure.

                customizeCheckBox.Enabled  = false;
                dataFileLabel.Enabled      = false;
                dataFileBox.Enabled        = false;
                logFileLabel.Enabled       = false;
                logFileBox.Enabled         = false;
                instructionsLabel1.Visible = false;
                instructionsLabel2.Visible = false;
                instructionsLabel3.Visible = true;
                instructionsLabel3.Text    = "Database file locations cannot be customized on SQL Azure.";
            }
            else
            {
                // Hide the database size controls if this isn't SQL Azure.

                sizeLabel.Visible    = false;
                sizeComboBox.Visible = false;
                sizeLabel2.Visible   = false;
            }
        }
コード例 #4
0
 public InstallStep(InstallWizard wizard)
 {
     this.wizard = wizard;
     InitializeComponent();
 }
コード例 #5
0
 public ActionRequestStep(InstallWizard wizard)
 {
     this.wizard = wizard;
     InitializeComponent();
 }
コード例 #6
0
 public ServiceAccountStep(InstallWizard wizard)
 {
     this.wizard = wizard;
     InitializeComponent();
 }
コード例 #7
0
 public SelectDatabaseStep(InstallWizard wizard)
 {
     this.wizard = wizard;
     InitializeComponent();
 }
コード例 #8
0
 public CreateAccountForm(InstallWizard wizard)
 {
     this.wizard = wizard;
     InitializeComponent();
 }
コード例 #9
0
 public ServerAdminStep(InstallWizard wizard)
 {
     this.wizard = wizard;
     InitializeComponent();
 }