//registnameTbx-->registpasswdTbx private void RegistNameTbx_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == (char)Keys.Enter) { RegistPawdTbx.Focus(); } }
//registnameTbx-->registpasswdTbx private void RegistNameTbx_KeyDown(object sender, KeyEventArgs e) { if (e.KeyValue == 40) { RegistPawdTbx.Focus(); } }