C# Class XenAdmin.Wizards.XenWizardBase

Show file Open project: xenserver/xenadmin

Protected Properties

Property Type Description
log log4net.ILog

Private Properties

Property Type Description
DisablePage void
HelpButton_Click void
SetTitle void
WizardProgress_EnteringStep void
WizardProgress_LeavingStep void
XenWizardBase_FormClosing void
XenWizardBase_HelpRequested void
XenWizardBase_KeyPress void
XenWizardBase_Load void
buttonCancel_Click void
buttonNext_Click void
buttonPrevious_Click void
page_StatusChanged void

Public Methods

Method Description
HasHelp ( ) : bool
NextStep ( ) : void
PreviousStep ( ) : void

Protected Methods

Method Description
AddAfterPage ( XenTabPage existingPage ) : void

Add the given pages to the wizard one position after the supplied page

AddPage ( XenTabPage page ) : void

Add a given page to the end of the wizard's page collection

AddPage ( XenTabPage page, int index ) : void

Insert a page into the wizard's page collection at the specified index

AddPages ( ) : void
FinishCanceled ( ) : void
FinishWizard ( ) : void
FormatHelpId ( string id ) : string
GetSummary ( ) : string>>.IEnumerable
NotifyNextPagesOfChange ( ) : void
OnCancel ( ) : void
OnClosed ( EventArgs e ) : void
RefreshProgress ( ) : void
RemovePage ( XenTabPage page ) : void
RemovePageAt ( int index ) : void

Removes pages at a certain index

RemovePages ( ) : void
RemovePagesFrom ( int startIndex ) : void

Removes pages from a certain index and above

RunNextPagePrecheck ( XenTabPage senderPage ) : bool
UpdateWizard ( ) : void
UpdateWizardContent ( XenTabPage senderPage ) : void

Updates the next wizard pages with content provided by the last visited page

WizardPaneHelpID ( ) : string

The help ID as sent to HelpManager when the user requests help on a given wizard page. The base implementation returns [typeName]_[CurrentStepTabPage.HelpID]Pane. Override this function or XenTabPage.HelpID if necessary (for example, some wizards have a single help ID for the whole wizard).

XenWizardBase ( ) : System
XenWizardBase ( IXenConnection connection ) : System

Private Methods

Method Description
DisablePage ( XenTabPage wizardTabPage, bool disable ) : void
HelpButton_Click ( object sender, EventArgs e ) : void
SetTitle ( ) : void
WizardProgress_EnteringStep ( object sender, XenAdmin.Wizards.WizardProgressEventArgs e ) : void
WizardProgress_LeavingStep ( object sender, XenAdmin.Wizards.WizardProgressEventArgs e ) : void
XenWizardBase_FormClosing ( object sender, FormClosingEventArgs e ) : void
XenWizardBase_HelpRequested ( object sender, HelpEventArgs hlpevent ) : void
XenWizardBase_KeyPress ( object sender, KeyPressEventArgs e ) : void
XenWizardBase_Load ( object sender, EventArgs e ) : void
buttonCancel_Click ( object sender, EventArgs e ) : void
buttonNext_Click ( object sender, EventArgs e ) : void
buttonPrevious_Click ( object sender, EventArgs e ) : void
page_StatusChanged ( XenTabPage sender ) : void

Method Details

AddAfterPage() protected method

Add the given pages to the wizard one position after the supplied page
protected AddAfterPage ( XenTabPage existingPage ) : void
existingPage XenTabPage The existing page that the new page will be placed after
return void

AddPage() protected method

Add a given page to the end of the wizard's page collection
protected AddPage ( XenTabPage page ) : void
page XenTabPage The page to add
return void

AddPage() protected method

Insert a page into the wizard's page collection at the specified index
protected AddPage ( XenTabPage page, int index ) : void
page XenTabPage The page to add
index int The index at which the page will be inserted
return void

AddPages() protected method

protected AddPages ( ) : void
return void

FinishCanceled() protected method

protected FinishCanceled ( ) : void
return void

FinishWizard() protected method

protected FinishWizard ( ) : void
return void

FormatHelpId() protected method

protected FormatHelpId ( string id ) : string
id string
return string

GetSummary() protected method

protected GetSummary ( ) : string>>.IEnumerable
return string>>.IEnumerable

HasHelp() public method

public HasHelp ( ) : bool
return bool

NextStep() public method

public NextStep ( ) : void
return void

NotifyNextPagesOfChange() protected method

protected NotifyNextPagesOfChange ( ) : void
return void

OnCancel() protected method

protected OnCancel ( ) : void
return void

OnClosed() protected method

protected OnClosed ( EventArgs e ) : void
e EventArgs
return void

PreviousStep() public method

public PreviousStep ( ) : void
return void

RefreshProgress() protected method

protected RefreshProgress ( ) : void
return void

RemovePage() protected method

protected RemovePage ( XenTabPage page ) : void
page XenTabPage
return void

RemovePageAt() protected method

Removes pages at a certain index
protected RemovePageAt ( int index ) : void
index int
return void

RemovePages() protected method

protected RemovePages ( ) : void
return void

RemovePagesFrom() protected method

Removes pages from a certain index and above
protected RemovePagesFrom ( int startIndex ) : void
startIndex int
return void

RunNextPagePrecheck() protected method

protected RunNextPagePrecheck ( XenTabPage senderPage ) : bool
senderPage XenTabPage
return bool

UpdateWizard() protected method

protected UpdateWizard ( ) : void
return void

UpdateWizardContent() protected method

Updates the next wizard pages with content provided by the last visited page
protected UpdateWizardContent ( XenTabPage senderPage ) : void
senderPage XenTabPage The last visited page
return void

WizardPaneHelpID() protected method

The help ID as sent to HelpManager when the user requests help on a given wizard page. The base implementation returns [typeName]_[CurrentStepTabPage.HelpID]Pane. Override this function or XenTabPage.HelpID if necessary (for example, some wizards have a single help ID for the whole wizard).
protected WizardPaneHelpID ( ) : string
return string

XenWizardBase() protected method

protected XenWizardBase ( ) : System
return System

XenWizardBase() protected method

protected XenWizardBase ( IXenConnection connection ) : System
connection IXenConnection
return System

Property Details

log protected static property

protected static log4net.ILog log
return log4net.ILog