What setup code should go in Form Constructors versus Form Load event?
For winforms applications I'm wondering what setup code should go in: MainForm() as opposed to MainForm_Load(object sender, EventArgs e) Are there any best practice guidelines here? Programmers that have worked with VB6 tend to put a lot of code in the Load event, in VB6 that event was used to initialize the form. But that's not appropriate anymore in Windows Forms, the Form class can have a constructor. The .NET way is to initialize class objects in the constructor, there are very few compelling reason to not do so for the Form class. The Load event runs right after the window handle for the