private void ComprobarEmail() { if (LogicaUsuarios.correoExistente(txtEmail.Text)) { mostrarToast("Correo Existente", "El correo elegido ya existe. Escoja otro correo.", "Warning"); //txtEmail.Text = ""; txtEmail.Style.Add(HtmlTextWriterStyle.BorderColor, "Red"); txtEmail.Style.Add("box-shadow", "0px 0px 25px 1px #FF0000"); } else { txtEmail.Style.Add(HtmlTextWriterStyle.BorderColor, "Transparent"); txtEmail.Style.Add("box-shadow", "none"); } }