C# Class BF2Statistics.PlayerEditForm

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

Public Methods

Method Description
PlayerEditForm ( int Pid ) : System

Constructor

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
CancelBtn_Click ( object sender, EventArgs e ) : void

Cancel Button Click Event

ClanTagBox_TextChanged ( object sender, EventArgs e ) : void

Clan Tag TextBox Text Changed Event

DeletePlayerBtn_Click ( object sender, EventArgs e ) : void

Delete Player Button Click Event

ExportPlayerBtn_Click ( object sender, EventArgs e ) : void

Export Player Button Click Event

InitializeComponent ( ) : void

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

LoadPlayer ( ) : void

Loads the players stats from the database, and fills out the forms labels with the current information

PermBanSelect_SelectedIndexChanged ( object sender, EventArgs e ) : void

Perm Ban Index Change Event

RankSelect_SelectedIndexChanged ( object sender, EventArgs e ) : void

Rank Select Index Change Event

ResetStatsBtn_Click ( object sender, EventArgs e ) : void

Reset stats button click event

ResetUnlocksBtn_Click ( object sender, EventArgs e ) : void

Reset Unlocks Button Click Event

SaveBtn_Click ( object sender, EventArgs e ) : void

Save Button Click Event

ViewBf2sBtn_Click ( object sender, EventArgs e ) : void

Event called when the "View on Leaderboard" button is clicked

linkLabel1_LinkClicked ( object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e ) : void

Event called when the client clicks the "Copy to Clipboard" link

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

PlayerEditForm() public method

Constructor
public PlayerEditForm ( int Pid ) : System
Pid int The Players ID
return System