예제 #1
0
        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();
            }
        }
예제 #2
0
        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();
            }
        }