常用方法
常用方法
常用方法
常用方法
//判断员工手机 private void txtMobile_Leave(object sender, EventArgs e) { if (txtMobile.Text.Trim() == "" || txtMobile.Text == null) { return; } if (!empBll.IsMobileLegal(txtMobile.Text.Trim())) { lblMobileShow.Text = SHOW_MOBILE_ILLEGAL; txtMobile.Text = ""; // txtMobile.Focus(); } else { lblMobileShow.Text = ""; } }