C# Класс Habanero.Faces.Win.WizardControlWin

Provides the controls for a wizard, which guides users through a process one step at a time.
Наследование: UserControlWin, 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.

WizardControlWin ( IWizardController wizardController, IControlFactory controlFactory ) : System

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

Защищенные методы

Метод Описание
CreateButtonPanel ( ) : IPanel

Creates all the Previous Next etc Buttons and puts them on a Panel.

CreateCancelButton ( Size buttonSize ) : IButton
CreateFinishButton ( Size buttonSize ) : IButton
CreateNextButton ( Size buttonSize ) : IButton
CreatePreviousButton ( Size buttonSize ) : IButton
DoIfCanMoveOn ( System.Operation operation ) : void
FireFinished ( ) : void
FireMessagePosted ( string message ) : void
FireStepChanged ( IWizardStep wizardStep ) : void
GetButtonSize ( ) : Size
GetLayoutManager ( IPanel buttonPanel ) : FlowLayoutManager
SetButtonState ( ) : void

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

Метод Описание
CancelButton_Click ( object sender, EventArgs e ) : void
FinishButton_Click ( object sender, EventArgs e ) : void
NextButton_Click ( object sender, EventArgs e ) : void
PreviousButton_Click ( object sender, EventArgs e ) : void
SetStep ( IWizardStep step ) : void

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

CreateButtonPanel() защищенный Метод

Creates all the Previous Next etc Buttons and puts them on a Panel.
protected CreateButtonPanel ( ) : IPanel
Результат IPanel

CreateCancelButton() защищенный Метод

protected CreateCancelButton ( Size buttonSize ) : IButton
buttonSize System.Drawing.Size
Результат IButton

CreateFinishButton() защищенный Метод

protected CreateFinishButton ( Size buttonSize ) : IButton
buttonSize System.Drawing.Size
Результат IButton

CreateNextButton() защищенный Метод

protected CreateNextButton ( Size buttonSize ) : IButton
buttonSize System.Drawing.Size
Результат IButton

CreatePreviousButton() защищенный Метод

protected CreatePreviousButton ( Size buttonSize ) : IButton
buttonSize System.Drawing.Size
Результат IButton

DoIfCanMoveOn() защищенный Метод

protected DoIfCanMoveOn ( System.Operation operation ) : void
operation System.Operation
Результат 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

FireFinished() защищенный Метод

protected FireFinished ( ) : void
Результат void

FireMessagePosted() защищенный Метод

protected FireMessagePosted ( string message ) : void
message string
Результат void

FireStepChanged() защищенный Метод

protected FireStepChanged ( IWizardStep wizardStep ) : void
wizardStep IWizardStep
Результат void

GetButtonSize() защищенный статический Метод

protected static GetButtonSize ( ) : Size
Результат System.Drawing.Size

GetLayoutManager() защищенный Метод

protected GetLayoutManager ( IPanel buttonPanel ) : FlowLayoutManager
buttonPanel IPanel
Результат Habanero.Faces.Base.FlowLayoutManager

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

SetButtonState() защищенный Метод

protected SetButtonState ( ) : void
Результат void

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

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

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

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