C# Класс ARCed.Controls.EquipSlot

Показать файл Открыть проект

Private Properties

Свойство Тип Описание
InitializeComponent void
checkBoxFixed_CheckedChanged void
comboBoxEquipment_SelectedIndexChanged void

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

Метод Описание
BeginUpdate ( ) : void

Maintains performance while items are added to the control's ComboBox one at a time by preventing painting until EndUpdate() is called.

EndUpdate ( ) : void

Resumes painting of the control's ComboBox after painting is suspended from calling BeginUpdate().

EquipSlot ( ) : System

Default constructor

GetItemId ( ) : int

Returns the ID of the selected piece of equipment.

RefreshItems ( List ids ) : void

Refreshes the list of items/equipment in the combo box control

SetItemId ( int id ) : void

Sets the equipment that has the given ID as the current item.

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

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

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

Метод Описание
InitializeComponent ( ) : void

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

checkBoxFixed_CheckedChanged ( object sender, EventArgs e ) : void
comboBoxEquipment_SelectedIndexChanged ( object sender, EventArgs e ) : void

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

BeginUpdate() публичный метод

Maintains performance while items are added to the control's ComboBox one at a time by preventing painting until EndUpdate() is called.
public BeginUpdate ( ) : void
Результат void

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

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

EndUpdate() публичный метод

Resumes painting of the control's ComboBox after painting is suspended from calling BeginUpdate().
public EndUpdate ( ) : void
Результат void

EquipSlot() публичный метод

Default constructor
public EquipSlot ( ) : System
Результат System

GetItemId() публичный метод

Returns the ID of the selected piece of equipment.
public GetItemId ( ) : int
Результат int

RefreshItems() публичный метод

Refreshes the list of items/equipment in the combo box control
public RefreshItems ( List ids ) : void
ids List
Результат void

SetItemId() публичный метод

Sets the equipment that has the given ID as the current item.
public SetItemId ( int id ) : void
id int ID of the equipement to set.
Результат void