Example #1
0
        private void btn_Add_Click(object sender, EventArgs e)
        {
            Storage_DB cDB = new Storage_DB();

            cDB.Item         = cBox_Item.Text;
            cDB.Manufacturer = txt_Manufacturer.Text;
            cDB.Quantity     = txt_Quantity.Text;
            cDB.Price        = txt_Price.Text;
            cDB.addproduct(cDB);
            MessageBox.Show("New Product Added");
        }