C# Class BF2Statistics.ScoreSettings

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

Protected Properties

Свойство Type Description
ConqScores string[]>.Dictionary
CoopScores string[]>.Dictionary
Scores string[]>.Dictionary

Méthodes publiques

Méthode Description
ScoreSettings ( ) : 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
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 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

ScoreSettings() public méthode

Constructor
public ScoreSettings ( ) : System
Résultat System

Property Details

ConqScores protected_oe property

The score settings from the conquest file
protected Dictionary ConqScores
Résultat string[]>.Dictionary

CoopScores protected_oe property

score settings from the coop file
protected Dictionary CoopScores
Résultat string[]>.Dictionary

Scores protected_oe property

The score settings from the scoring common
protected Dictionary Scores
Résultat string[]>.Dictionary