Beispiel #1
0
        static void Main()
        {
#if NET5_0_OR_GREATER
            XTrace2.UseWinForm();
            Application.SetHighDpiMode(HighDpiMode.SystemAware);
#else
            XTrace.UseWinForm();
#endif
            MachineInfo.RegisterAsync();

#if !NET4
            StartClient();
#endif

            StringHelper.EnableSpeechTip = XConfig.Current.SpeechTip;

            if (XConfig.Current.IsNew)
            {
                "学无先后达者为师,欢迎使用新生命码神工具!".SpeechTip();
            }

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new FrmMDI());
        }
Beispiel #2
0
        static void Main()
        {
            Application.Init();
            var window = new SharpApp();

            Window.InteractiveDebugging = true;//打开调试工具
            XTrace2.UseWinForm(window);
            Application.Run();
        }
Beispiel #3
0
        static void Main()
        {
#if NC30
            XTrace2.UseWinForm();
#else
            XTrace.UseWinForm();
#endif

            StringHelper.EnableSpeechTip = XConfig.Current.SpeechTip;

            if (XConfig.Current.IsNew)
            {
                "学无先后达者为师,欢迎使用新生命码神工具!".SpeechTip();
            }

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new FrmMDI());
        }