C# Class BF2Statistics.MapListForm

Afficher le fichier Open project: BF2Statistics/ControlCenter Class Usage Examples

Protected Properties

Свойство Type Description
MapImage Bitmap

Méthodes publiques

Méthode Description
MapListForm ( ) : System

Constructor

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

GameModeToString ( string mode ) : string

Parses a maplist.con game mode variable into a human readable one.

Private Methods

Méthode Description
AddToMapList_Click ( object sender, EventArgs e ) : void

Adds completed map selections to the Maplist

CancelBtn_Click ( object sender, EventArgs e ) : void

Cancels any changes made to the maplist, and closes the form

ClearButton_Click ( object sender, EventArgs e ) : void

Clears the current Maplist

GameModeSelect_SelectedIndexChanged ( object sender, EventArgs e ) : void

Event fired when the client selects a Map Gamemode

InitializeComponent ( ) : void

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

MapListSelect_SelectedIndexChanged ( object sender, EventArgs e ) : void

Called when a map is selected or changed

MapPictureBox_DoubleClick ( object sender, EventArgs e ) : void

Event fired when the map image is clicked

MapSizeSelect_SelectedIndexChanged ( object sender, EventArgs e ) : void

Event fired when a mapsize is selected

RandomizeBtn_Click ( object sender, EventArgs e ) : void

Shuffles the maps listed in the MapList box

SaveButton_Click ( object sender, EventArgs e ) : void

Saves the maplist to the maplist.com file

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

GameModeToString() protected méthode

Parses a maplist.con game mode variable into a human readable one.
protected GameModeToString ( string mode ) : string
mode string The gamemode from the maplist.con
Résultat string

MapListForm() public méthode

Constructor
public MapListForm ( ) : System
Résultat System

Property Details

MapImage protected_oe property

Contains the full sized bitmap image of the selected map
protected Bitmap MapImage
Résultat Bitmap