private bool ServerValidation()
 {
     ValidationResult ValidationResult = null;
     CommonValidator commonValidator = new CommonValidator();
     Regex nameRegex = new Regex(@"^[a-zA-Z.\s]{1,40}$");        
     commonValidator.Add(new RequiedValidator(tbEmail.Text, RPResources.regEmail));                    
     commonValidator.Add(new RegExpressionValidator(tbEmail.Text, new Regex(@"\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*")));
     ValidationResult = commonValidator.Validate();
     return ValidationResult.IsSucceed;
 }
 private bool ServerValidation()
 {
     ValidationResult ValidationResult = null;
     CommonValidator commonValidator = new CommonValidator();         
     commonValidator.Add(new RequiedValidator(tbPassword.Text, RPResources.regPassword));
     commonValidator.Add(new RequiedValidator(tbConfirmPassword.Text, RPResources.regConfirmPassword));        
     commonValidator.Add(new RegExpressionValidator(tbPassword.Text, new Regex(@"(?=^.{8,}$)((?=.*\d))(?![.\n])(?=.*[A-Z])(?=.*[a-z]).*$")));
     commonValidator.Add(new StringCompareValidator(tbPassword.Text, tbConfirmPassword.Text));
     ValidationResult = commonValidator.Validate();
     return ValidationResult.IsSucceed;
 }
        private bool ServerValidation()
        {
            ValidationResult ValidationResult = null;
            CommonValidator commonValidator = new CommonValidator();
            Regex nameRegex = new Regex(@"^[a-zA-Z.\s]{1,40}$");
            commonValidator.Add(new RequiedValidator(tbFirstName.Text, RPResources.regFirstName));
            commonValidator.Add(new RequiedValidator(tbLastName.Text, RPResources.regLastName));
            commonValidator.Add(new RequiedValidator(tbEmail.Text, RPResources.regEmail));
            commonValidator.Add(new RequiedValidator(tbPassword.Text, RPResources.regPassword));
            commonValidator.Add(new RequiedValidator(tbConfirmPassword.Text, RPResources.regConfirmPassword));
            commonValidator.Add(new RegExpressionValidator(tbFirstName.Text, nameRegex));
            commonValidator.Add(new RegExpressionValidator(tbLastName.Text, nameRegex));
            commonValidator.Add(new RegExpressionValidator(tbEmail.Text, new Regex(@"\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*")));
            commonValidator.Add(new RegExpressionValidator(tbPassword.Text, new Regex(@"(?=^.{8,}$)((?=.*\d))(?![.\n])(?=.*[A-Z])(?=.*[a-z]).*$")));
            commonValidator.Add(new StringCompareValidator(tbPassword.Text, tbConfirmPassword.Text));

            ValidationResult = commonValidator.Validate();

            return ValidationResult.IsSucceed;
        }