Exemplo n.º 1
0
        private void button5_Click_1(object sender, EventArgs e)
        {
            bd.TinhTien(ref err, mahd);
            //taoMaHoaDon();
            reportprinthoadon inhd = new reportprinthoadon(mahd);

            inhd.ShowDialog();
            cbo_khuA.SelectedIndex = -1;
            cbo_KhuB.SelectedIndex = -1;
            cbo_KhuC.SelectedIndex = -1;
            mahd          = "";
            lbl_MaHD.Text = "Mã HD: ";
            banopen();
            dgvdshangdangban.Visible = false;
            menuclose();
            laydulieuhangdangban(mahd);
            btn_lammoi.Enabled = true;

            btn_chon.Enabled = true;
            layhoadonchuatinhtien();
            banlose();
        }