There are, effectively, three ways that you can set the focus. The first way is to use the
ActiveControl
property of your form.,
this.ActiveControl = txtSpecial;
The second method is to use the
Select
method, i.e.
txtSpecial.Select();
The third method is to use the
Focus
method. This method assumes that the
ControlStyles.Selectable
bit is set to true for the form, and none of the parent controls of the control you are trying to focus on are disabled.
txtSpecial.Focus();
In all cases, you need to wait for the
Loaded
event before you can attempt to set the focus.