Example #1
0
        private void btnThanhToan_Click(object sender, EventArgs e)
        {
            if (BUS.HoaDonBUS.ThanhToan(soHoaDon, DateTime.Now, int.Parse(txtThanhTien.Text), tienGiamGia))
            {
                MessageBox.Show("Thanh toán thành công");
                if (phongKaraoke != null)
                {
                    phongKaraoke.khoiTao();
                }

                frmReportGoiMon goiMon = new frmReportGoiMon(soHoaDon);
                goiMon.ShowDialog();
            }
            else
            {
                MessageBox.Show("Có lỗi xảy ra!. Vui lòng mời nhân viên kỹ thuật kiểm tra!!!");
            }
        }
Example #2
0
        private void btnIn_Click(object sender, EventArgs e)
        {
            frmReportGoiMon reportGoiMon = new frmReportGoiMon(soHoaDon);

            reportGoiMon.ShowDialog();
        }