Пример #1
0
        static void Main()
        {
            // TODO: Handle unhandled exceptions

            Puzzler f = new Puzzler();

            Application.Run(f);
        }
Пример #2
0
        static void Main()
        {
            BootstrapEnterpriseLibrary();

            Application.ThreadException +=
                Application_ThreadException;
            AppDomain.CurrentDomain.UnhandledException +=
                CurrentDomain_UnhandledException;

            Puzzler f = new Puzzler();

            Application.Run(f);
        }
Пример #3
0
        static void Main()
        {
            // Handle unhandled exceptions
            Application.ThreadException +=
                new ThreadExceptionEventHandler(Application_ThreadException);

            AppDomain.CurrentDomain.UnhandledException +=
                new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);

            Puzzler f = new Puzzler();

            Application.Run(f);
        }
Пример #4
0
        public void Run()
        {
            Puzzler f = new Puzzler();

            Application.Run(f);
        }