Beispiel #1
0
        /// <summary>
        /// 检查输入的有效性
        /// </summary>
        /// <returns>有效</returns>
        public override bool CheckInput()
        {
            bool returnValue = true;

            if (!string.IsNullOrEmpty(this.txtEmail.Text))
            {
                if (ValidateUtil.CheckEmail(this.txtEmail.Text))
                {
                    if (!BaseCheckInput.CheckEmail(this.txtEmail, AppMessage.MSG0234))
                    {
                        return(false);
                    }
                }
            }
            return(returnValue);
        }