예제 #1
0
 private void UpdateProductList()
 {
     CatalogueListBox.Items.Clear();
     foreach (Product p in catalogue.AllProducts())
     {
         CatalogueListBox.Items.Add(p);
     }
 }