Пример #1
0
        private void Cashbtn_Click(object sender, EventArgs e)
        {
            this.Hide();
            EnterAmount enterAmount = new EnterAmount(RunningTotal, OrderList.Items, userID, 4);

            enterAmount.Show();
        }
Пример #2
0
        private void Cashbtn_Click(object sender, EventArgs e)
        {
            this.Hide();
            Transaction transaction = new Transaction();

            transaction.transactionID = 4;
            EnterAmount enterAmount = new EnterAmount(RunningTotal, OrderList.Items, userID, transaction.transactionID);

            enterAmount.Show();
            //need to pass through total label so user is aware of order total and can then check if correct amount is present
        }