C# Class Nexus.Client.GameDetectionForm

The view displaying the progress of the search for installed games.
Inheritance: Nexus.Client.UI.ManagedFontForm
Mostrar archivo Open project: NexusMods/NexusModManager-4.5 Class Usage Examples

Private Properties

Property Type Description
GameDetector_DisableButOk void
GameDetector_GameResolved void
InitializeComponent void
butCancel_Click void
butOK_Click void
butQuickStartup_Click void
butStopSearching_Click void

Public Methods

Method Description
GameDetectionForm ( GameDetectionVM p_vmlGameDetection ) : 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.

Private Methods

Method Description
GameDetector_DisableButOk ( object sender, GameModeDiscoveredEventArgs e ) : void

Handles the GameDiscoverer.DisableButOk event of the game discoverer.

Disable the OK button.

GameDetector_GameResolved ( object sender, GameModeDiscoveredEventArgs e ) : void

Handles the GameDiscoverer.GameResolved event of the game discoverer.

Enables the OK button.

InitializeComponent ( ) : void

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

butCancel_Click ( object sender, EventArgs e ) : void

Handles the Control.Click event of the cancel button.

Confirms that the users wants to cancel the detection.

butOK_Click ( object sender, EventArgs e ) : void

Handles the Control.Click event of the ok button.

Closes the dialog.

butQuickStartup_Click ( object sender, EventArgs e ) : void

Handles the Control.Click event of the quick startup button.

Confirms that the users wants to luanch the quick startup.

butStopSearching_Click ( object sender, EventArgs e ) : void

Handles the Control.Click event of the stop searching button.

Confirms that the users wants to stop the game searching.

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

GameDetectionForm() public method

A simple constructor that initializes the object with the given values.
public GameDetectionForm ( GameDetectionVM p_vmlGameDetection ) : System
p_vmlGameDetection GameDetectionVM The game detector view model.
return System