private bool SetErros(string msg) { ValidationErrorVO errors = new ValidationErrorVO(msg); lblNameError.Content = errors["Name"]; return(errors.ContainsErros); }
private bool SetErrors(string message) { ValidationErrorVO errors = new ValidationErrorVO(message); lblError.Content = errors["Password"]; return(errors.ContainsErros); }
private bool SetErros(string msg) { ValidationErrorVO errors = new ValidationErrorVO(msg); lblNameError.Content = errors["DisplayName"]; lblUserError.Content = errors["Login"]; lblPassError.Content = errors["Password"]; return(errors.ContainsErros); }
private bool SetErrors(string msg) { ValidationErrorVO errors = new ValidationErrorVO(msg); lblNameError.Content = errors["FirstName"]; lblLastNameError.Content = errors["LastName"]; lblEmailError.Content = errors["Email"]; lblPassError.Content = errors["Password"]; lblRePassError.Content = errors["Repasss"]; return(errors.ContainsErros); }
private bool SetErros(string msg) { ValidationErrorVO errors = new ValidationErrorVO(msg); lblNameError.Content = errors["Name"]; lblFantasyNameError.Content = errors["FantasyName"]; lblCnpjError.Content = errors["Cnpj"]; lblStateRegistrationError.Content = errors["StateRegistration"]; lblMunicipalRegistrationError.Content = errors["MunicipalRegistration"]; lblCnaeError.Content = errors["Cnae"]; lblEmailError.Content = errors["Email"]; lblPhoneError.Content = errors["Phone"]; lblAddressError.Content = errors["Address"]; return(errors.ContainsErros); }