C# Class Nexus.Client.ModManagement.Scripting.XmlScript.UI.OptionsForm

Show file Open project: NexusMods/NexusModManager-4.5 Class Usage Examples

Public Methods

Method Description
OptionsForm ( XmlScript p_xcsScript, HeaderInfo p_hifHeaderInfo, ConditionStateManager p_csmStateManager, IList p_lstInstallSteps ) : System

A simple constructor that initializes the object with the given values.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

SetWizardButtonStates ( ) : void

This updates the back/next button states.

StepBack ( ) : void

Moves the wizard to the previous visible step.

StepForward ( ) : void

Advances the wizard to the next visible step, or finishes the wizard if the current step is the last visible step.

Private Methods

Method Description
InitializeComponent ( ) : void

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

butBack_Click ( object sender, EventArgs e ) : void

Handles the Control.Click event of the back button.

butCancel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the cancel button.

This cancels the dialog.

butNext_Click ( object sender, EventArgs e ) : void

Handles the Control.Click event of the next button.

ofsStep_ItemChecked ( object sender, EventArgs e ) : void

Handles the OptionFormStep.ItemChecked event of the option form steps.

This updates the back/next button states.

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

OptionsForm() public method

A simple constructor that initializes the object with the given values.
public OptionsForm ( XmlScript p_xcsScript, HeaderInfo p_hifHeaderInfo, ConditionStateManager p_csmStateManager, IList p_lstInstallSteps ) : System
p_xcsScript XmlScript The install script.
p_hifHeaderInfo HeaderInfo Information describing the form header.
p_csmStateManager ConditionStateManager The install state manager.
p_lstInstallSteps IList The install steps.
return System

SetWizardButtonStates() protected method

This updates the back/next button states.
protected SetWizardButtonStates ( ) : void
return void

StepBack() protected method

Moves the wizard to the previous visible step.
protected StepBack ( ) : void
return void

StepForward() protected method

Advances the wizard to the next visible step, or finishes the wizard if the current step is the last visible step.
protected StepForward ( ) : void
return void