예제 #1
0
        public static void RunParsed(LaunchOptions options)
        {
            EnviromentManager.Init();

            EnviromentManager.LaunchOptions = options;

            if (!options.Silent)
            {
                var app = new App();
                app.InitializeComponent();
                app.Run();
            }
        }
예제 #2
0
        public static void RunParsed()
        {
            //CrashReporter
#if !DEBUG
            AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(UnhandledExceptionReport);
#endif

            EnviromentManager.Init();

            var app = new App();
            app.InitializeComponent();
            app.Run();
        }