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

A basic implementation of WizardStep that can be used for simply displaying a message. Should a step be required that is a simple message for the user (such as at the end of a wizard), this step can be used
Наследование: UserControlWin, IWizardStep
Показать файл Открыть проект

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

Метод Описание
CanCancel ( ) : bool

Can the user cancel from this wizard step. I.e. the objects under the control of this step have not been moved into a state that prohibits cancelling all changes. It is very rare that you would not be able to cancel at any point in a wizard.

CanFinish ( ) : bool

Can the user select finish from this wizard step. I.e. is sufficient information captured so that all information gathered in future steps can be set to defaults.

CanMoveBack ( ) : bool

Verifies whether the user can move back from this step.

CanMoveOn ( string &message ) : bool

Always returns true as this wizard step is simply for displaying a message to a user.

CancelStep ( ) : void

Provides an interface for the developer to implement functionality to cancel all edits made as part of this wizard step. The default wizard controller functionality is to call all wizard steps cancelStep methods when its Cancel method is called on the Wizard Controller (i.e. typically when Cancel Button is selected.

InitialiseStep ( ) : void

Initialises the step. Run when the step is reached.

MoveOn ( ) : void

Does any actions involved in this wizard step when you move on to the next wizard step. E.g. Updates any Objects from User interface controls.

UndoMoveOn ( ) : void

Undoes any actions that have been done by this wizard step. Usually you would want this to do nothing since if the user does a previous and then next they would not expect to lose their. But in some cases you may have created objects based on the selection in this step and when you move back to this step you want to these so that if the user changes his/her selection then new objects or different objects are created.

WizardStepWin ( ) : System

Constructs the MessageWizardStep

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

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

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

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

Required method for Designer support - do not modify the contents of this method with the code editor.

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

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

Can the user cancel from this wizard step. I.e. the objects under the control of this step have not been moved into a state that prohibits cancelling all changes. It is very rare that you would not be able to cancel at any point in a wizard.
public CanCancel ( ) : bool
Результат bool

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

Can the user select finish from this wizard step. I.e. is sufficient information captured so that all information gathered in future steps can be set to defaults.
public CanFinish ( ) : bool
Результат bool

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

Verifies whether the user can move back from this step.
public CanMoveBack ( ) : bool
Результат bool

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

Always returns true as this wizard step is simply for displaying a message to a user.
public CanMoveOn ( string &message ) : bool
message string Out parameter that will always be the empty string
Результат bool

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

Provides an interface for the developer to implement functionality to cancel all edits made as part of this wizard step. The default wizard controller functionality is to call all wizard steps cancelStep methods when its Cancel method is called on the Wizard Controller (i.e. typically when Cancel Button is selected.
public CancelStep ( ) : void
Результат void

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

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

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

Initialises the step. Run when the step is reached.
public InitialiseStep ( ) : void
Результат void

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

Does any actions involved in this wizard step when you move on to the next wizard step. E.g. Updates any Objects from User interface controls.
public MoveOn ( ) : void
Результат void

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

Undoes any actions that have been done by this wizard step. Usually you would want this to do nothing since if the user does a previous and then next they would not expect to lose their. But in some cases you may have created objects based on the selection in this step and when you move back to this step you want to these so that if the user changes his/her selection then new objects or different objects are created.
public UndoMoveOn ( ) : void
Результат void

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

Constructs the MessageWizardStep
public WizardStepWin ( ) : System
Результат System