C# Class BF2Statistics.AccountEditForm

Inheritance: System.Windows.Forms.Form
Afficher le fichier Open project: BF2Statistics/ControlCenter Class Usage Examples

Protected Properties

Свойство Type Description
AccountId int

Méthodes publiques

Méthode Description
AccountEditForm ( int Pid ) : System

Constructor

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
AccountEditForm_FormClosing ( object sender, FormClosingEventArgs e ) : void

When the form starts to close, we need to unregister for the OnDisconnect event.

DeleteBtn_Click ( object sender, EventArgs e ) : void

Event fired when the Delete button is pushed

DisconnectBtn_Click ( object sender, EventArgs e ) : void

Event fire when disconnect button is pushed. Forces the account to log out.

GpcmClient_OnDisconnect ( object sender ) : void

We cant modify connected client accounts. When the account goes offline, we re-enable the update button and status

GpcmClient_OnSuccessfulLogin ( object sender ) : void

We cant modify connected client accounts. When the account logs in, we disable the update buttonn and update the status

InitializeComponent ( ) : void

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

UpdateBtn_Click ( object sender, EventArgs e ) : void

Event fired when the Submit button is pushed

Method Details

AccountEditForm() public méthode

Constructor
public AccountEditForm ( int Pid ) : System
Pid int The player account ID
Résultat System

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

Property Details

AccountId protected_oe property

The Account ID
protected int AccountId
Résultat int