示例#1
0
        static void Main()
        {
            Environment.CurrentDirectory = UwpDesktop.GetCurrentDirectory();
            AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(
                OnUnhandledException);

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