Пример #1
0
 private void PopulateItemTypeCmb()
 {
     cmbItemType.Items.Clear();
     itemType = new CItemType();
     foreach (CItemType type in itemType.GetItemTypes())
     {
         cmbItemType.Items.Add(type.GetTypeName());
     }
 }
Пример #2
0
        void PopulateComboBox()
        {
            cmbItemSearch.Items.Clear();
            CItemType itemType = new CItemType();

            foreach (CItemType type in itemType.GetItemTypes())
            {
                cmbItemSearch.Items.Add(type.GetTypeName());
            }
        }