I have a TextBox in my C# program. I need focus to be on this TextBox when the program starts.
TextBox
I tried this on Form_Load:
MyTextBox.Focus();
but it doesn't work.
How do I put focus on this when the form loads?