What setup code should go in Form Constructors versus Form Load event?

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 6:13 UTC
Read the original article Hit count: 205

Filed under:

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?

© Stack Overflow or respective owner

Related posts about winforms