C# Class ZForge.Controls.Wizard.Wizard

Inheritance: System.Windows.Forms.UserControl
Datei anzeigen Open project: zhuangyy/Motion Class Usage Examples

Protected Properties

Property Type Description
btnBack System.Windows.Forms.Button
btnNext System.Windows.Forms.Button
pnlButtons System.Windows.Forms.Panel

Private Properties

Property Type Description
InitializeComponent void
Wizard_Load void
btnBack_Click void
btnBack_MouseDown void
btnCancel_Click void
btnNext_Click void
btnNext_MouseDown void

Public Methods

Method Description
Back ( ) : void

Closes the current page after a WizardPage.CloseFromBack, then moves to the previous page and calls WizardPage.ShowFromBack

BackTo ( WizardPage page ) : void

Moves to the page given and calls WizardPage.ShowFromBack

Does NOT call WizardPage.CloseFromBack on the current page

Next ( ) : void

Closes the current page after a WizardPage.CloseFromNext, then moves to the Next page and calls WizardPage.ShowFromNext

NextTo ( WizardPage page ) : void

Moves to the page given and calls WizardPage.ShowFromNext

Does NOT call WizardPage.CloseFromNext on the current page

Wizard ( ) : System

Wizard control with designer support

Protected Methods

Method Description
ActivatePage ( WizardPage page ) : void
ActivatePage ( int index ) : void
Dispose ( bool disposing ) : void

Clean up any resources being used.

IsCurrentPageTheFinishPage ( ) : bool
OnPaint ( PaintEventArgs e ) : void
OnResize ( EventArgs e ) : void

Private Methods

Method Description
InitializeComponent ( ) : void

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

Wizard_Load ( object sender, System e ) : void
btnBack_Click ( object sender, System e ) : void
btnBack_MouseDown ( object sender, System e ) : void
btnCancel_Click ( object sender, System e ) : void
btnNext_Click ( object sender, System e ) : void
btnNext_MouseDown ( object sender, System e ) : void

Method Details

ActivatePage() protected method

protected ActivatePage ( WizardPage page ) : void
page WizardPage
return void

ActivatePage() protected method

protected ActivatePage ( int index ) : void
index int
return void

Back() public method

Closes the current page after a WizardPage.CloseFromBack, then moves to the previous page and calls WizardPage.ShowFromBack
public Back ( ) : void
return void

BackTo() public method

Moves to the page given and calls WizardPage.ShowFromBack
Does NOT call WizardPage.CloseFromBack on the current page
public BackTo ( WizardPage page ) : void
page WizardPage
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
return void

IsCurrentPageTheFinishPage() protected method

protected IsCurrentPageTheFinishPage ( ) : bool
return bool

Next() public method

Closes the current page after a WizardPage.CloseFromNext, then moves to the Next page and calls WizardPage.ShowFromNext
public Next ( ) : void
return void

NextTo() public method

Moves to the page given and calls WizardPage.ShowFromNext
Does NOT call WizardPage.CloseFromNext on the current page
public NextTo ( WizardPage page ) : void
page WizardPage
return void

OnPaint() protected method

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnResize() protected method

protected OnResize ( EventArgs e ) : void
e System.EventArgs
return void

Wizard() public method

Wizard control with designer support
public Wizard ( ) : System
return System

Property Details

btnBack protected_oe property

protected Button,System.Windows.Forms btnBack
return System.Windows.Forms.Button

btnNext protected_oe property

protected Button,System.Windows.Forms btnNext
return System.Windows.Forms.Button

pnlButtons protected_oe property

protected Panel,System.Windows.Forms pnlButtons
return System.Windows.Forms.Panel