C# 클래스 ARCed.Controls.EquipSlot

파일 보기 프로젝트 열기: borisblizzard/arcreator

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