public override void Run()
 {
     _option = WizardView.GetOptionInstance <DataBaseCreateOption>();
     this.WizardView.CloseButtonEnabled = false;
     this.panelCreate.Visible           = true;
     this.panelError.Visible            = false;
     this._backgroundWorkerCreateDataBase.RunWorkerAsync();
 }
        public static void Show()
        {
            WizardView           view   = new WizardView();
            DataBaseCreateOption option = new DataBaseCreateOption();

            view.SetOptionInstance <DataBaseCreateOption>(option);
            view.AddStepPanel(new DataBaseCreateWizard_DataBaseName());
            view.AddStepPanel(new DataBaseCreateWizard_Option());
            view.AddStepPanel(new DataBaseCreateWizard_Account());
            view.AddStepPanel(new DataBaseCreateWizard_Confirm());
            view.AddStepPanel(new DataBaseCreateWizard_Create());
            view.AddStepPanel(new DataBaseCreateWizard_Done());
            view.ShowDialog();
            view.Dispose();
        }
 public override void Run()
 {
     _option = this.WizardView.GetOptionInstance <DataBaseCreateOption>();
     this.txtLoginName.Text = _option.LoginName;
     this.txtPassword.Text  = _option.Password;
 }
 public override void Run()
 {
     _option = this.WizardView.GetOptionInstance <DataBaseCreateOption>();
     cbNoCreateDataBase.Checked = !_option.CreateDataBase;
     cbInsertEnum.Checked       = _option.InsertEnum;
 }
 public override void Run()
 {
     _option = this.WizardView.GetOptionInstance <DataBaseCreateOption>();
     txtDataBaseName.Text = _option.DataBaseName;
 }