private void btnXoaCTHD_Click(object sender, EventArgs e)
 {
     try
     {
         string   masp = gdvCTHD.CurrentRow.Cells[0].Value.ToString();
         string   sl   = gdvCTHD.CurrentRow.Cells["SL"].Value.ToString();
         DTO_CTHD cthd = new DTO_CTHD(int.Parse(txtMaHD.Text), int.Parse(masp));
         bool     kq   = bshd.DeleteCTHD(cthd);
         if (kq == true)
         {
             XtraMessageBox.Show("Xóa thành công.");
         }
         else
         {
             XtraMessageBox.Show("Xóa thất bại.");
         }
         gdvCTHD.DataSource = bshd.getCTHD(int.Parse(txtMaHD.Text));
         hh.Updatesoluongtang(int.Parse(masp), int.Parse(sl));
     }
     catch
     {
         XtraMessageBox.Show("Lỗi!");
     }
 }