C# Class Nexus.Client.GameModeSelectionForm

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

Public Methods

Method Description
GameModeSelectionForm ( IList p_lstGameModes, ISettings p_setSettings ) : System

The default constructor.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

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

StartupGameMode ( ) : void

Starts the mod manager for the selected game mode.

This makes the mod manager remember the selected game, if requested.

butOK_Click ( object sender, EventArgs e ) : void

Hanldes the Control.Click event of the OK button.

glvGameMode_MouseDoubleClick ( object sender, MouseEventArgs e ) : void

Hanldes the Control.MouseDoubleClick event of the controls.

glvGameMode_SelectedItemChanged ( object sender, SelectedItemEventArgs e ) : void

Handles the GameModeListView.SelectedItemChanged event of the game mode selection box.

This changes the icon to refect the currently selected game mode.

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

GameModeSelectionForm() public method

The default constructor.
public GameModeSelectionForm ( IList p_lstGameModes, ISettings p_setSettings ) : System
p_lstGameModes IList The list of avaliable game modes.
p_setSettings ISettings The application settings.
return System