C# Класс Habanero.Faces.VWG.WizardControlVWG

Provides the controls for a wizard, which guides users through a process one step at a time.
Наследование: UserControlVWG, IWizardControl
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Finish ( ) : void

Calls the finish method on the controller to being the completion process. If this is successful the Finished event is fired.

Next ( ) : void

Attempts to go to the next step in the wizard. If this is disallowed by the wizard controller a MessagePosted event will be fired.

Previous ( ) : void

Attempts to go to the previous step in the wizard.

Start ( ) : void

Starts the wizard by moving to the first step.

WizardControlVWG ( IWizardController wizardController, IControlFactory controlFactory ) : System

Initialises the WizardControl with the IWizardController. No logic is performed other than storing the wizard controller.

Приватные методы

Метод Описание
CancelButton_Click ( object sender, EventArgs e ) : void
CreateButtonPanel ( ) : IPanel
DoIfCanMoveOn ( System.Operation operation ) : void
FinishButton_Click ( object sender, EventArgs e ) : void
FireFinished ( ) : void
FireMessagePosted ( string message ) : void
FireStepChanged ( IWizardStep wizardStep ) : void
NextButton_Click ( object sender, EventArgs e ) : void
PreviousButton_Click ( object sender, EventArgs e ) : void
SetButtonState ( ) : void
SetStep ( IWizardStep step ) : void

Описание методов

Finish() публичный Метод

Calls the finish method on the controller to being the completion process. If this is successful the Finished event is fired.
public Finish ( ) : void
Результат void

Next() публичный Метод

Attempts to go to the next step in the wizard. If this is disallowed by the wizard controller a MessagePosted event will be fired.
public Next ( ) : void
Результат void

Previous() публичный Метод

Attempts to go to the previous step in the wizard.
If the wizard is on the first step this exception will be thrown.
public Previous ( ) : void
Результат void

Start() публичный Метод

Starts the wizard by moving to the first step.
public Start ( ) : void
Результат void

WizardControlVWG() публичный Метод

Initialises the WizardControl with the IWizardController. No logic is performed other than storing the wizard controller.
public WizardControlVWG ( IWizardController wizardController, IControlFactory controlFactory ) : System
wizardController IWizardController
controlFactory IControlFactory The control factory that this control will use to create a button
Результат System