2 using System.Collections.Generic;
3 using System.Windows.Forms;
4 using System.Diagnostics;
13 Application.EnableVisualStyles();
14 Application.SetCompatibleTextRenderingDefault( false );
18 Application.Run( new メインフォーム() );
20 #if !DEBUG // デバッグ時はキャッチしない方が解析に便利。
23 // 異常終了。キャッチされなかった例外をログに出力。
25 MessageBox.Show( string.Format( "未処理の例外が発生しました。\n終了します。\n\n{0}", e.ToString() ), "エラー", MessageBoxButtons.OK, MessageBoxIcon.Error );
27 //FDK.C共通.t例外の詳細をログに出力する( e );
28 Trace.WriteLine( "" );
29 Trace.WriteLine( "エラーだゴメン!(涙" );