新生命码神工具,代码生成、网络工具、API工具、串口工具、正则工具、图标工具、加解密工具、地图接口。
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
904 B

6 years ago
6 years ago
  1. using System;
  2. using System.Collections.Generic;
  3. using System.IO;
  4. using System.Reflection;
  5. using System.Windows.Forms;
  6. using NewLife;
  7. using NewLife.Log;
  8. using NewLife.Net;
  9. using NewLife.Threading;
  10. using NewLife.Xml;
  11. using XCode.DataAccessLayer;
  12. namespace XCoder
  13. {
  14. static class Program
  15. {
  16. /// <summary>应用程序的主入口点。</summary>
  17. [STAThread]
  18. static void Main()
  19. {
  20. #if NC30
  21. XTrace2.UseWinForm();
  22. #else
  23. XTrace.UseWinForm();
  24. #endif
  25. StringHelper.EnableSpeechTip = XConfig.Current.SpeechTip;
  26. if (XConfig.Current.IsNew) "学无先后达者为师,欢迎使用新生命码神工具!".SpeechTip();
  27. Application.EnableVisualStyles();
  28. Application.SetCompatibleTextRenderingDefault(false);
  29. Application.Run(new FrmMDI());
  30. }
  31. }
  32. }