Esempio n. 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();
            }
        }
Esempio n. 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();
            }
        }