예제 #1
0
        private void btnAdd_Click(object sender, System.EventArgs e)
        {
            frmNewProduct newForm = new frmNewProduct();
            Product       product = newForm.GetNewProduct();

            if (product != null)
            {
                products.Add(product);
                products.Save();
                FillProductListBox();
            }
        }
예제 #2
0
 private void HandleChange(ProductList products)
 {
     products.Save();
     FillProductListBox();
 }
예제 #3
0
 private void HandleChange(ProductList products)
 {
     products.Save();
     FillProductListBox();
 }