private void UpdateProductList() { CatalogueListBox.Items.Clear(); foreach (Product p in catalogue.AllProducts()) { CatalogueListBox.Items.Add(p); } }