Exemplo n.º 1
0
        static void Main()
        {
            // 全局异常捕获
            AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
            DoStartLog();

            // 启动计划任务
            ScheduledWorker.StartAllScheduled();

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(MainForm.Default);
        }