Developer, Former MVP, now at Microsoft - Best of 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013
static void Main() { // Assuming all your dllimports are in Form1 System.Runtime.InteropServices.Marshal.PrelinkAll(typeof(Form1)); Application.Run(new Form1());}