Beispiel #1
0
 public void Save() => ProductDB.SaveProducts(this);
 public void Fill() => products = ProductDB.GetProducts();
 public void Save() => ProductDB.SaveProducts(products);
 //getting all the products from the file and populating products
 private void frmProductMain_Load(object sender, EventArgs e)
 {
     products = ProductDB.GetProducts();
     FillProductListBox();
 }