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

            allProducts = products;
        }
コード例 #3
0
 private void CheckOutForm_Load(object sender, EventArgs e) =>
 allProducts = ProductReader.Products();
コード例 #4
0
 private void UpdateProductForm_Load(object sender, EventArgs e)
 {
     allProducts = ProductReader.Products();
 }