public static void Main( string[] args ) { if ( FindArg( args, "-debug" ) ) { DebugLog.AddListener( new ConsoleDebugListener() ); TraceDialog td = new TraceDialog(); td.Show(); FileTrace ft = new FileTrace(); } try { Start( args ); } catch ( Exception ex ) { new ErrorDialog( ex ).ShowDialog(); } }
public static void Main(string[] args) { if (FindArg(args, "-debug")) { DebugLog.AddListener(new ConsoleDebugListener()); TraceDialog td = new TraceDialog(); td.Show(); FileTrace ft = new FileTrace(); } try { Start(args); } catch (Exception ex) { new ErrorDialog(ex).ShowDialog(); } }