WinForms - what setup code should go in MainForm() versus MainForm_Load(object sender, EventArgs e)

Posted by Greg on Stack Overflow See other posts from Stack Overflow or by Greg
Published on 2010-03-26T05:43:25Z Indexed on 2010/03/26 5:53 UTC
Read the original article Hit count: 401

Filed under:

Hi,

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 practise guidelines here?

© Stack Overflow or respective owner

Related posts about winforms