//消费查看 private void BtnExpense_Click(object sender, EventArgs e) { List <int> sList = new List <int>(); sList.Add(2); sList.Add(6); sList.Add(7); InputSeatForm inputSeatForm = new InputSeatForm(sList, connectionString); if (inputSeatForm.ShowDialog() == DialogResult.OK) { //修改 //OrderCheckForm seatExpenseForm = new OrderCheckForm(inputSeatForm.m_Seat, connectionString); //seatExpenseForm.ShowDialog(); } }
//会员自助结账 private void btnPay_Click(object sender, EventArgs e) { List <int> sList = new List <int>(); sList.Add(2); sList.Add(6); sList.Add(7); InputSeatForm inputSeatForm = new InputSeatForm(sList, connectionString); if (inputSeatForm.ShowDialog() != DialogResult.OK) { return; } SeatExpenseForm seatExpenseForm = new SeatExpenseForm(inputSeatForm.m_Seat); seatExpenseForm.ShowDialog(); }