示例#1
0
 private void btnNewProduct_Click(object sender, EventArgs e)
 {
     AddProduct addProduct = new AddProduct();
     addProduct.ShowDialog();
     products.Add(addProduct.product);
     gdProductList.DataSource = products;
 }
示例#2
0
        private void btnNewProduct_Click(object sender, EventArgs e)
        {
            AddProduct addProduct = new AddProduct();

            addProduct.ShowDialog();
            products.Add(addProduct.product);
            gdProductList.DataSource = products;
        }
示例#3
0
 private void btnModifyProduct_Click(object sender, EventArgs e)
 {
     AddProduct addProduct = new AddProduct();
     addProduct.ShowDialog();
 }
示例#4
0
        private void btnModifyProduct_Click(object sender, EventArgs e)
        {
            AddProduct addProduct = new AddProduct();

            addProduct.ShowDialog();
        }