Archive

Archive for March, 2010

WinForm: Set focus on a control in the form’s contructor

If you try to use the Control.Focus() in the form’s constructor, it won’t works.

Use the this.ActiveControl = control;

Categories: C#