C# Class BF2Statistics.ScoreSettings

Inheritance: System.Windows.Forms.Form
ファイルを表示 Open project: BF2Statistics/ControlCenter Class Usage Examples

Protected Properties

Property Type Description
ConqScores string[]>.Dictionary
CoopScores string[]>.Dictionary
Scores string[]>.Dictionary

Public Methods

Method Description
ScoreSettings ( ) : System

Constructor

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

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

Event fired when the Cancel button is pressed

ExportSettingsMenuItem_Click ( object sender, EventArgs e ) : void
FillFormFields ( ) : void

Fills the form values

ImportSettingsMenuItem_Click ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

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

LoadConqFile ( ) : bool

Loads the conquest scoring file

We do a search and replace for the word DEFENT because the AIX devs spelled DEFEND incorrectly!

LoadCoopFile ( ) : bool

Loads the Coop File Settings

LoadScoringCommon ( ) : bool

Loads the scoring files, and initializes the values of all the input fields

ResetButton_Click ( object sender, EventArgs e ) : void
SaveButton_Click ( object sender, EventArgs e ) : void

Event fired when the Save buttons is pressed. Saves all the current scoring settings

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

ScoreSettings() public method

Constructor
public ScoreSettings ( ) : System
return System

Property Details

ConqScores protected_oe property

The score settings from the conquest file
protected Dictionary ConqScores
return string[]>.Dictionary

CoopScores protected_oe property

score settings from the coop file
protected Dictionary CoopScores
return string[]>.Dictionary

Scores protected_oe property

The score settings from the scoring common
protected Dictionary Scores
return string[]>.Dictionary