Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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);
        }