C# Class BF2Statistics.AccountListForm

Inheritance: System.Windows.Forms.Form
Show file Open project: BF2Statistics/ControlCenter Class Usage Examples

Public Methods

Method Description
AccountListForm ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
BuildList ( ) : void

Fills the DataGridView with a list of accounts

DataTable_CellDoubleClick ( object sender, System.Windows.Forms.DataGridViewCellEventArgs e ) : void

When a row is double clicked, this method is called, opening the Account Edit Form

DataTable_ColumnHeaderMouseClick ( object sender, System.Windows.Forms.DataGridViewCellMouseEventArgs e ) : void

Maunal Sorting of columns (Since Auto Sort sucks!)

FirstBtn_Click ( object sender, EventArgs e ) : void

Sets the current page to 1

InitializeComponent ( ) : void

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

LastBtn_Click ( object sender, EventArgs e ) : void

Sets the current page to the last page

LimitSelect_SelectedIndexChanged ( object sender, EventArgs e ) : void

Re-Filters the results when the limit is changed

NextBtn_Click ( object sender, EventArgs e ) : void

Increments the current page

OnlineAccountsCheckBox_CheckedChanged ( object sender, EventArgs e ) : void
PageNumber_ValueChanged ( object sender, EventArgs e ) : void
PreviousBtn_Click ( object sender, EventArgs e ) : void

Decrements the current page

SearchBox_TextChanged ( object sender, EventArgs e ) : void

Search OnKey Down function. Filters the List of accounts

contextMenu_Opening ( object sender, CancelEventArgs e ) : void
menuItemCreate_Click ( object sender, EventArgs e ) : void

Create Account Meny Item Click Event

menuItemDelete_Click ( object sender, System e ) : void

Delete Account menu item click event

Method Details

AccountListForm() public method

public AccountListForm ( ) : System
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