You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
911 B
35 lines
911 B
using System; |
|
using System.Threading; |
|
using System.Windows.Forms; |
|
using Common; |
|
|
|
namespace Kingo.Mobile.Shape2KOTool |
|
{ |
|
// Token: 0x02000063 RID: 99 |
|
internal static class Program |
|
{ |
|
// Token: 0x060003D7 RID: 983 RVA: 0x00015784 File Offset: 0x00013984 |
|
[STAThread] |
|
private static void Main() |
|
{ |
|
Application.EnableVisualStyles(); |
|
Application.SetCompatibleTextRenderingDefault(false); |
|
Application.ThreadException += Program.Application_ThreadException; |
|
try |
|
{ |
|
} |
|
catch (Exception e) |
|
{ |
|
MessageBox.Show("程序出现未处理的异常,请联系开发商!"); |
|
LogAPI.Debug(e); |
|
} |
|
} |
|
|
|
// Token: 0x060003D8 RID: 984 RVA: 0x000157E0 File Offset: 0x000139E0 |
|
private static void Application_ThreadException(object sender, ThreadExceptionEventArgs e) |
|
{ |
|
MessageBox.Show("程序出现未处理的异常,请联系开发商!"); |
|
LogAPI.Debug(e.Exception); |
|
} |
|
} |
|
}
|
|
|