private void PopulateItemTypeCmb() { cmbItemType.Items.Clear(); itemType = new CItemType(); foreach (CItemType type in itemType.GetItemTypes()) { cmbItemType.Items.Add(type.GetTypeName()); } }
void PopulateComboBox() { cmbItemSearch.Items.Clear(); CItemType itemType = new CItemType(); foreach (CItemType type in itemType.GetItemTypes()) { cmbItemSearch.Items.Add(type.GetTypeName()); } }