OSDN Git Service

動画の描画を少し高速化。
[strokestylet/CsWin10Desktop3.git] / SSTFEditor / Program.cs
1 using System;
2 using System.Collections.Generic;
3 using System.Windows.Forms;
4 using System.Diagnostics;
5
6 namespace SSTFEditor
7 {
8         static class Program
9         {
10                 [STAThread]
11                 static void Main()
12                 {
13                         Application.EnableVisualStyles();
14                         Application.SetCompatibleTextRenderingDefault( false );
15
16                         try
17                         {
18                                 Application.Run( new メインフォーム() );
19                         }
20 #if !DEBUG      // デバッグ時はキャッチしない方が解析に便利。
21                         catch( Exception e )
22                         {
23                                 // 異常終了。キャッチされなかった例外をログに出力。
24
25                                 MessageBox.Show( string.Format( "未処理の例外が発生しました。\n終了します。\n\n{0}", e.ToString() ), "エラー", MessageBoxButtons.OK, MessageBoxIcon.Error );
26
27                                 //FDK.C共通.t例外の詳細をログに出力する( e );
28                                 Trace.WriteLine( "" );
29                                 Trace.WriteLine( "エラーだゴメン!(涙" );
30                         }
31 #endif
32                         finally
33                         {
34                         }
35                 }
36         }
37 }