C# Класс BF2Statistics.MapListForm

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
MapImage Bitmap

Открытые методы

Метод Описание
MapListForm ( ) : System

Constructor

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

GameModeToString() защищенный Метод

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
Результат string

MapListForm() публичный Метод

Constructor
public MapListForm ( ) : System
Результат System

Описание свойств

MapImage защищенное свойство

Contains the full sized bitmap image of the selected map
protected Bitmap MapImage
Результат Bitmap