private void btnDisable_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 thực hiên ???", "Câu hỏi", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
     if (DialogResult.Yes == result)
     {
         try
         {
             Contracts_AllowancesBO aContracts_AllowancesBO = new Contracts_AllowancesBO();
             Contracts_Allowances aContracts_Allowances = aContracts_AllowancesBO.Select_ByID(ID);
             aContracts_Allowances.Disable = true;
             aContracts_AllowancesBO.Update(aContracts_Allowances);
             MessageBox.Show("Bạn đã thực hiên thành công .", "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Information);
         }
         catch (Exception ex)
         {
             MessageBox.Show("frmLst_Contracts_Allowances.btnDisable_ButtonClick\n" + ex.ToString(), "Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error);
         }
     }
     ReloadData();
 }