private void btnDelete_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
 {
     int ID = Convert.ToInt32(viewContracts_Allowances.GetFocusedRowCellValue("Contracts_Allowances_ID"));
     DialogResult result = MessageBox.Show("Bạn có chắc chắn muốn xóa ???", "Câu hỏi", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
     if (DialogResult.Yes == result)
     {
         try
         {
             Contracts_AllowancesBO aContracts_AllowancesBO = new Contracts_AllowancesBO();
             aContracts_AllowancesBO.Delete(ID);
             MessageBox.Show("Bạn đã xóa dữ liệu thành công .", "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Information);
         }
         catch (Exception ex)
         {
             MessageBox.Show("frmLst_Contracts_Allowances.btnDelete_ButtonClick\n" + ex.ToString(), "Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error);
         }
     }
     ReloadData();
 }