|
private void txtBoxName_KeyPress(object sender, KeyPressEventArgs e)
{
if (e.KeyChar == (char)Keys.Return)
{
txtBoxPwd.Focus();
}
}
private void txtBoxPwd_KeyPress(object sender, KeyPressEventArgs e)
{
if (e.KeyChar == (char)Keys.Return)
{
btnLogin.Focus();
}
}
I am also learning recently, look at this |
|