C# Class ARCed.Controls.EquipSlot

Afficher le fichier Open project: borisblizzard/arcreator

Private Properties

Свойство Type Description
InitializeComponent void
checkBoxFixed_CheckedChanged void
comboBoxEquipment_SelectedIndexChanged void

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
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

Method Details

BeginUpdate() public méthode

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
Résultat void

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

EndUpdate() public méthode

Resumes painting of the control's ComboBox after painting is suspended from calling BeginUpdate().
public EndUpdate ( ) : void
Résultat void

EquipSlot() public méthode

Default constructor
public EquipSlot ( ) : System
Résultat System

GetItemId() public méthode

Returns the ID of the selected piece of equipment.
public GetItemId ( ) : int
Résultat int

RefreshItems() public méthode

Refreshes the list of items/equipment in the combo box control
public RefreshItems ( List ids ) : void
ids List
Résultat void

SetItemId() public méthode

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.
Résultat void