I have a textbox and in some cases in Enter event I need to set the focus to a different textbox.
I tried that code:
private void TextBox1_Enter(object
textBox.Select();
or
textBox.Focus();
or set TabIndex = 0 from properties of that textBox.
set TabIndex = 0
textBox
both methods are use to set focus on textBox in C#, .NET