private void CreateProductButtons() { this.PrepareUIForCreateButtons(); List <ProductEntry> productEntries = InterplayStorage.GetProductEntries(); this.CreateProductButtons(productEntries); }
private void txtSearch_TextChanged(object sender, EventArgs e) { try { this.PrepareUIForCreateButtons(); this.CreateProductButtons(InterplayStorage.GetProductEntries(txtSearch.Text)); } catch (Exception ex) { this.HandleException(ex); } }