C# Class BF2Statistics.AccountEditForm

Inheritance: System.Windows.Forms.Form
显示文件 Open project: BF2Statistics/ControlCenter Class Usage Examples

Protected Properties

Property Type Description
AccountId int

Public Methods

Method Description
AccountEditForm ( int Pid ) : System

Constructor

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method 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 method

Constructor
public AccountEditForm ( int Pid ) : System
Pid int The player account ID
return System

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

Property Details

AccountId protected_oe property

The Account ID
protected int AccountId
return int