public static void Main() { // these calls have to happen before the form is constructed Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); // create the little popup (automatically minimize it after 3 seconds?) HWRecognitionForm form = new HWRecognitionForm(); // Fire up the HWRecognition Server server = new HWServer(form); ApplicationContext context = new ApplicationContext(); context.MainForm = form; Application.Run(context); }