Files
OpenRA/OpenRa.Game/Program.cs
chrisf b62619b34c best way of removing duplication?? *delete*
git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1184 993157c7-ee19-0410-b2c4-bb4e9862e678
2007-07-13 01:30:46 +00:00

29 lines
529 B
C#

using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.IO;
namespace OpenRa.Game
{
static class Program
{
[STAThread]
static void Main( string[] args )
{
try
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault( false );
Settings settings = new Settings(args);
new MainWindow( settings ).Run();
}
catch( Exception e )
{
File.WriteAllText( "error.log", e.ToString() );
throw;
}
}
}
}