Ejemplo n.º 1
0
        private void button_pay_Click(object sender, EventArgs e)
        {
            //removes all items from the purchasing list and refreshed the listbox

            foreach (var purchased in store_inventory)
            {
                AccessSQLite.UpdateDatabase(purchased);
            }

            purchasing.Clear();
            update_listbox();
        }