| 123456789101112131415161718192021222324252627282930 | 
							- 
 
- using System;
 
- using System.Collections.Generic;
 
- using System.Linq;
 
- using System.Threading.Tasks;
 
- using System.Windows.Forms;
 
- namespace IMCS
 
- {
 
-     static class Program
 
-     {
 
-         /// <summary>
 
-         /// 应用程序的主入口点。
 
-         /// </summary>
 
-         [STAThread]
 
-         static void Main()
 
-         {
 
-             Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException);
 
-             Application.ThreadException += Application_ThreadException;
 
-             Application.EnableVisualStyles();
 
-            Application.SetCompatibleTextRenderingDefault(false);
 
-             Application.Run(new Form_Main());
 
-         }
 
-         private static void Application_ThreadException(object sender, System.Threading.ThreadExceptionEventArgs e)
 
-         {
 
-             YG.Log.Instance.WriteLogAdd($"Application_ThreadException-->26-->{e.Exception}");
 
-         }
 
-     }
 
- }
 
 
  |