You need to make use of KeyPress event of TextBox.
I have added two TextBox in the form and for TextBox1 i have atteched TextChanged Event.
Please refer this code
C#
private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
{
if (e.KeyChar == '\r')
{
this.textBox2.Focus();
}
}
VB
Private Sub textBox1_KeyPress(sender As Object, e As KeyPressEventArgs)
If e.KeyChar = ControlChars.Cr Then
Me.textBox2.Focus()
End If
End Sub