コード例 #1
0
ファイル: Program.cs プロジェクト: fordream/Conquistador
        static void Main(string[] args)
        {
            // Disable the WinForms unhandled exception dialog.
            // SurfaceShell will notify the user.
            Application.SetUnhandledExceptionMode(UnhandledExceptionMode.ThrowException);

            // Apply Surface globalization settings
            GlobalizationSettings.ApplyToCurrentThread();

            using (MyGame app = new MyGame())
            {
                app.Run();
            }
        }
コード例 #2
0
ファイル: Program.cs プロジェクト: fordream/Conquistador
        static void Main(string[] args)
        {
            // Disable the WinForms unhandled exception dialog.
            // SurfaceShell will notify the user.
            Application.SetUnhandledExceptionMode(UnhandledExceptionMode.ThrowException);

            // Apply Surface globalization settings
            GlobalizationSettings.ApplyToCurrentThread();

            using (MyGame app = new MyGame())
            {
                app.Run();
            }
        }