Beispiel #1
0
 private bool todosCamposCompletos()
 {
     if (txtNombre.Text.Trim() == "")
     {
         MensajesToolTip.showToolTip("Ingrese un nombre.", txtNombre, txtNombre.Location);
         return(false);
     }
     if (txtApellido.Text.Trim() == "")
     {
         MensajesToolTip.showToolTip("Ingrese un apellido.", txtApellido, txtApellido.Location);
         return(false);
     }
     if (txtMail.Text.Trim() == "")
     {
         MensajesToolTip.showToolTip("Ingrese un mail.", txtMail, txtMail.Location);
         return(false);
     }
     if (txtContraseña.Text.Trim() == "")
     {
         MensajesToolTip.showToolTip("Ingrese una contraseña.", txtContraseña, txtContraseña.Location);
         return(false);
     }
     if (dtpFechaNacimiento.Text.Trim() == "" || dtpFechaNacimiento.Value == null)
     {
         MensajesToolTip.showToolTip("Ingrese una fecha de nacimiento.", dtpFechaNacimiento, dtpFechaNacimiento.Location);
         return(false);
     }
     return(true);
 }
Beispiel #2
0
 private bool todosCamposCompletos()
 {
     if (txtDescripcion.Text.Trim() == "")
     {
         MensajesToolTip.showToolTip("Ingrese una descripcion para crear la funcionalidad.", txtDescripcion, txtDescripcion.Location);
         return(false);
     }
     return(true);
 }
Beispiel #3
0
 private bool todosCamposCompletos()
 {
     if (txtNombreRol.Text.Trim() == "")
     {
         MensajesToolTip.showToolTip("Ingrese un nombre para crear el rol.", txtNombreRol, txtNombreRol.Location);
         return(false);
     }
     return(true);
 }
 private bool todosCamposCompletos()
 {
     if (txtNombre.Text.Trim() == "")
     {
         MensajesToolTip.showToolTip("Ingrese un nombre de usuario.", txtNombre, txtNombre.Location);
         return(false);
     }
     return(true);
 }
Beispiel #5
0
 private bool todosCamposCompletos()
 {
     if (txtNombre.Text.Trim() == "")
     {
         MensajesToolTip.showToolTip("Ingrese un nombre.", txtNombre, txtNombre.Location);
         return(false);
     }
     if (txtContraseña.Text.Trim() == "")
     {
         MensajesToolTip.showToolTip("Ingrese una contraseña.", txtContraseña, txtContraseña.Location);
         return(false);
     }
     return(true);
 }