Ejemplo n.º 1
0
 private void TxtApellido1_KeyPress(object sender, KeyPressEventArgs e)
 {
     if (e.KeyChar == 13)
     {
         TxtApellido2.Focus();
     }
 }
Ejemplo n.º 2
0
 public void Limpiar()
 {
     TxtNombre1.Clear();
     TxtNombre2.Clear();
     TxtApellido1.Clear();
     TxtApellido2.Clear();
     TxtNumeroTarjeta.Clear();
     TxtRegistroMedico.Clear();
     PctSello.Image = null;
     Pt_Firma.Image = null;
 }
Ejemplo n.º 3
0
 public void Limpiar()
 {
     TxtNombre1.Clear();
     TxtNombre2.Clear();
     TxtApellido1.Clear();
     TxtApellido2.Clear();
     TxtDireccion.Clear();
     TxtTelefono.Clear();
     PctHuella.Image         = null;
     PctFoto.Image           = null;
     Pt_Firma.Image          = null;
     TxtEdad.Text            = "";
     DtFechaNacimiento.Value = DateTime.Now.Date;
     ModoEdicion.Visible     = false;
 }