Beispiel #1
0
 private void password_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Enter || e.KeyCode == Keys.Down)
     {
         Entrar.Focus();
     }
 }
Beispiel #2
0
 private void Clave_KeyPress(object sender, KeyPressEventArgs e)
 {
     if (e.KeyChar == (char)Keys.Enter)
     {
         Entrar.Focus();
     }
 }