Provides the controls for a wizard, which guides users through a process one step at a time.
Inheritance: UserControlVWG, IWizardControl
示例#1
0
 /// <summary>
 /// Initialises the WizardForm, sets the controller and starts the wizard.
 /// </summary>
 /// <param name="control">The WizardControl that this form is showing.</param>
 public WizardFormVWG(WizardControlVWG control)
 {
     if (control == null)
     {
         throw new ArgumentNullException("control");
     }
     SetupWizardControl(control);
 }
示例#2
0
 private void SetupWizardControl(WizardControlVWG control)
 {
     _uxWizardControl  = control;
     _wizardController = control.WizardController;
     this._uxWizardControl.MessagePosted      += _uxWizardControl_MessagePosted;
     this._uxWizardControl.Finished           += this._uxWizardControl_Finished;
     this._uxWizardControl.StepChanged        += this._uxWizardControl_StepChanged;
     this._uxWizardControl.CancelButton.Click += CancelButton_OnClick;
     InitializeComponent();
     WizardControl.WizardController = _wizardController;
     ((Form)this).DialogResult      = Gizmox.WebGUI.Forms.DialogResult.Cancel;
     this.Closing += WizardFormGiz_Closing;
 }
 private void SetupWizardControl(WizardControlVWG control)
 {
     _uxWizardControl = control;
     _wizardController = control.WizardController;
     this._uxWizardControl.MessagePosted += _uxWizardControl_MessagePosted;
     this._uxWizardControl.Finished += this._uxWizardControl_Finished;
     this._uxWizardControl.StepChanged += this._uxWizardControl_StepChanged;
     this._uxWizardControl.CancelButton.Click += CancelButton_OnClick;
     InitializeComponent();
     WizardControl.WizardController = _wizardController;
     ((Form)this).DialogResult = Gizmox.WebGUI.Forms.DialogResult.Cancel;
     this.Closing += WizardFormGiz_Closing;
 }
 /// <summary>
 /// Initialises the WizardForm, sets the controller and starts the wizard.
 /// </summary>
 /// <param name="control">The WizardControl that this form is showing.</param>
 public WizardFormVWG(WizardControlVWG control)
 {
     if (control == null) throw new ArgumentNullException("control");
     SetupWizardControl(control);
 }