mirror of
https://git.femboyfinancial.jp/james/lipsync.git
synced 2026-02-03 15:19:42 -08:00
git-svn-id: http://svn.sourceforge.jp/svnroot/lipsync@6 b1f601f4-4f45-0410-8980-aecacb008692
This commit is contained in:
30
trunk/LipSync/NicoComment/Program.cs
Normal file
30
trunk/LipSync/NicoComment/Program.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Windows.Forms;
|
||||
using System.IO;
|
||||
|
||||
namespace NicoComment {
|
||||
static class Program {
|
||||
/// <summary>
|
||||
/// アプリケーションのメイン エントリ ポイントです。
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
static void Main() {
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault( false );
|
||||
#if !DEBUG
|
||||
//DEBUGのときはIDEでエラーをハンドルしたいので。
|
||||
try {
|
||||
#endif
|
||||
Application.Run( new Form1() );
|
||||
#if !DEBUG
|
||||
} catch ( Exception e ) {
|
||||
using ( StreamWriter sw = new StreamWriter( "error.log", true ) ) {
|
||||
sw.WriteLine( e.Message );
|
||||
sw.WriteLine( e.StackTrace );
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user