C# Class Nexus.UI.Controls.WizardControl

Inheritance: VerticalTabControl
Afficher le fichier Open project: NexusMods/NexusModManager-4.5 Class Usage Examples

Private Properties

Свойство Type Description
Cancel_Click void
Next_Click void
Previous_Click void

Méthodes publiques

Méthode Description
WizardControl ( ) : System

The default constructor.

Méthodes protégées

Méthode Description
MovePage ( Int32 p_intJumpSize ) : void

This navigates to the page whose index is p_intJumpSize away from the current page's index.

This makes sure that the selected index resulting from the jump is never out of bounds. It also enables/disables buttons and changes button text as appropriate.

OnControlAdded ( System.Windows.Forms.ControlEventArgs e ) : void

Raises the Control.ControlAdded event.

This ensures that the wizard buttons are enabled/disabled correctly.

OnControlRemoved ( System.Windows.Forms.ControlEventArgs e ) : void

Raises the Control.ControlRemoved event.

This ensures that the wizard buttons are enabled/disabled correctly.

Private Methods

Méthode Description
Cancel_Click ( object sender, EventArgs e ) : void

Handles the Control.Click event of the cancel button.

This raises the Cancelled event.

Next_Click ( object sender, EventArgs e ) : void

Handles the Control.Click event of the next button.

This navigates to the next page, if there is one.

Previous_Click ( object sender, EventArgs e ) : void

Handles the Control.Click event of the previous button.

This navigates to the previous page, if there is one.

Method Details

MovePage() protected méthode

This navigates to the page whose index is p_intJumpSize away from the current page's index.
This makes sure that the selected index resulting from the jump is never out of bounds. It also enables/disables buttons and changes button text as appropriate.
protected MovePage ( Int32 p_intJumpSize ) : void
p_intJumpSize System.Int32 The number of pages to jump.
Résultat void

OnControlAdded() protected méthode

Raises the Control.ControlAdded event.
This ensures that the wizard buttons are enabled/disabled correctly.
protected OnControlAdded ( System.Windows.Forms.ControlEventArgs e ) : void
e System.Windows.Forms.ControlEventArgs A describing the event arguments.
Résultat void

OnControlRemoved() protected méthode

Raises the Control.ControlRemoved event.
This ensures that the wizard buttons are enabled/disabled correctly.
protected OnControlRemoved ( System.Windows.Forms.ControlEventArgs e ) : void
e System.Windows.Forms.ControlEventArgs A describing the event arguments.
Résultat void

WizardControl() public méthode

The default constructor.
public WizardControl ( ) : System
Résultat System