private bool check_thong_tin_cong_tac()
{
if (m_sle_don_vi.EditValue == null)
{
string v_str_error = "Bạn chưa chọn đơn vị!";
XtraMessageBox.Show(v_str_error, "Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error);
return false;
}
else if (m_sle_chuc_vu.EditValue == null)
{
string v_str_error = "Bạn chưa chọn chức vụ!";
XtraMessageBox.Show(v_str_error, "Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error);
return false;
}
return true;
}