예제 #1
0
        private void DecreaseQuantity()
        {
            Product p = new Product();

            p.ProductName = cmbProduct.SelectedItem.ToString();
            p.Quantity    = int.Parse(cmbQuantity.SelectedItem.ToString());

            productBLL.DecQuantity(p);
        }