private void loadBasicDetails() { try { textBox_item_findItem.ListBox = listBox_list_findItem; UIListBox.recentItems(listBox_list_findItem, 100); UIComboBox.categoriesForSelect(comboBox_category_selectItem); UIComboBox.companiesForSelect(comboBox_company_selectItem); } catch (Exception) { } }
private void textBox_itemName_TextChanged(object sender, TextChangedEventArgs e) { try { if (textBox_itemName.IsNull()) { UIListBox.recentItems(listBox, 100); } else { UIListBox.loadItemsByCategoryAndCompanyAndName(listBox, textBox_itemName.Text); } } catch (Exception) { } }