C# Class Nexus.Client.LoginForm

A form that gathers login credentials.
Inheritance: Nexus.Client.UI.ManagedFontForm
Afficher le fichier Open project: NexusMods/NexusModManager-4.5 Class Usage Examples

Private Properties

Свойство Type Description
InitializeComponent void
LoginForm_FormClosed void
butCancel_Click void
butLogin_Click void
butOffline_Click void
lblError_TextChanged void

Méthodes publiques

Méthode Description
LoginForm ( Nexus.Client.LoginFormVM p_vmlViewModel, LoginFormTask p_lftLoginTask ) : System

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

Méthodes protégées

Méthode Description
ApplyTheme ( Theme p_thmTheme ) : void

Applies the given theme to the form.

Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
InitializeComponent ( ) : void

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

LoginForm_FormClosed ( object sender, EventArgs e ) : void
butCancel_Click ( object sender, EventArgs e ) : void

Handles the Control.Click event of the conacel button.

butLogin_Click ( object sender, EventArgs e ) : void

Handles the Control.Click event of the login button.

butOffline_Click ( object sender, EventArgs e ) : void
lblError_TextChanged ( object sender, EventArgs e ) : void

Handles the Control.TextChanged event of the error label.

Show or hides the error label, depending on whether it contains any text.

Method Details

ApplyTheme() protected méthode

Applies the given theme to the form.
protected ApplyTheme ( Theme p_thmTheme ) : void
p_thmTheme Theme The theme to apply.
Résultat void

Dispose() protected méthode

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

LoginForm() public méthode

A simple constructor the initializes the object with the given values.
public LoginForm ( Nexus.Client.LoginFormVM p_vmlViewModel, LoginFormTask p_lftLoginTask ) : System
p_vmlViewModel Nexus.Client.LoginFormVM The view model that provides the data and operations for this view.
p_lftLoginTask LoginFormTask
Résultat System