OSDN Git Service

DTXManiaソリューション、DTXManiaプロジェクト、DTXCreatorプロジェクト、FDKプロジェクトについて英語化。
[dtxmania/dtxmania.git] / DTXCreator / コード / 00.全体 / Program.cs
diff --git a/DTXCreator/コード/00.全体/Program.cs b/DTXCreator/コード/00.全体/Program.cs
new file mode 100644 (file)
index 0000000..ae3474f
--- /dev/null
@@ -0,0 +1,26 @@
+using System;
+using System.Collections.Generic;
+using System.Globalization;
+using System.Threading;
+using System.Windows.Forms;
+
+namespace DTXCreator
+{
+       internal static class Program
+       {
+               [STAThread]
+               private static void Main()
+               {
+#if DEBUG
+#if USE_ENGLISHRESOURCE
+                       Thread.CurrentThread.CurrentUICulture = new CultureInfo( "en-GB", false );      // yyagi; For testing English resources
+#elif USE_GERMANRESOURCE
+                       Thread.CurrentThread.CurrentCulture = new CultureInfo( "de-DE", false );        // yyagi; For testing decimal point in German resources
+#endif
+#endif
+                       Application.EnableVisualStyles();
+                       Application.SetCompatibleTextRenderingDefault( false );
+                       Application.Run( new Cメインフォーム() );
+               }
+       }
+}