Esempio n. 1
0
 private void DisplayProductForm_Load(object sender, EventArgs e)
 {
     allProducts = ProductReader.Products();
     foreach (var p in allProducts)
     {
         DisplayListBox.Items.Add(p);
     }
 }
Esempio n. 2
0
        private void ProductEntryForm_Load(object sender, EventArgs e)
        {
            var products = ProductReader.Products();

            allProducts = products;
        }
 private void CheckOutForm_Load(object sender, EventArgs e) =>
 allProducts = ProductReader.Products();
Esempio n. 4
0
 private void UpdateProductForm_Load(object sender, EventArgs e)
 {
     allProducts = ProductReader.Products();
 }