git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1183 993157c7-ee19-0410-b2c4-bb4e9862e678

This commit is contained in:
bob
2007-07-12 19:46:13 +00:00
parent 4139e4dac6
commit 9a6182bb17
9 changed files with 94 additions and 11 deletions

View File

@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.IO;
namespace OpenRa.Game
{
@@ -9,10 +10,18 @@ namespace OpenRa.Game
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
try
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault( false );
new MainWindow().Run();
new MainWindow().Run();
}
catch( Exception e )
{
File.WriteAllText( "error.log", e.ToString() );
throw;
}
}
}
}