private bool kiem_tra_du_lieu()
{
if (m_txt_thang.Text.Trim() == "" || m_txt_nam.Text.Trim() == "")
{
XtraMessageBox.Show("Vui lòng nhập tháng và năm chấm công!", "Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
else if (check_ma_nhan_vien_ko_ton_tai())
return false;
else if (check_ma_nhan_vien_duplicate())
return false;
else if (check_so_ngay_lam_them_sai())
return false;
return true;
}