C# Class NanoByte.Common.Controls.Wizard

A base class for creating wizard interfaces. Manages pages as a stack of UserControls.
Inheritance: System.Windows.Forms.Form
ファイルを表示 Open project: nano-byte/common

Protected Properties

Property Type Description
PageStack Stack

Public Methods

Method Description
Wizard ( ) : System

Creates a new wizard.

Protected Methods

Method Description
PopPage ( ) : void

Removes the current wizard page form the PageStack and displays the previous one.

PushPage ( [ page ) : void

Displays a new wizard page and adds it to the PageStack.

Private Methods

Method Description
ShowPage ( Control page ) : void

Method Details

PopPage() protected method

Removes the current wizard page form the PageStack and displays the previous one.
protected PopPage ( ) : void
return void

PushPage() protected method

Displays a new wizard page and adds it to the PageStack.
protected PushPage ( [ page ) : void
page [ The page to display and add.
return void

Wizard() public method

Creates a new wizard.
public Wizard ( ) : System
return System

Property Details

PageStack protected_oe property

The wizard page history with the currently visible page on top.
protected Stack PageStack
return Stack