Exemple #1
0
        private void Application_Startup(object sender, StartupEventArgs e)
        {
            //this.RootVisual = new Shell();
            var bootstrapper = new StockTraderRIBootstrapper();

            bootstrapper.Run();
        }
Exemple #2
0
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);
            StockTraderRIBootstrapper bootstrapper = new StockTraderRIBootstrapper();

            bootstrapper.Run();
            this.ShutdownMode = ShutdownMode.OnMainWindowClose;
        }
Exemple #3
0
 private static void RunInReleaseMode()
 {
     AppDomain.CurrentDomain.UnhandledException += AppDomainUnhandledException;
     try
     {
         StockTraderRIBootstrapper bootstrapper = new StockTraderRIBootstrapper();
         bootstrapper.Run();
     }
     catch (Exception ex)
     {
         HandleException(ex);
     }
 }
Exemple #4
0
 private static void RunInReleaseMode()
 {
     AppDomain.CurrentDomain.UnhandledException += AppDomainUnhandledException;
     try
     {
         StockTraderRIBootstrapper bootstrapper = new StockTraderRIBootstrapper();
         bootstrapper.Run();
     }
     catch (Exception ex)
     {
         HandleException(ex);
     }
 }
Exemple #5
0
 private static void RunInDebugMode()
 {
     StockTraderRIBootstrapper bootstrapper = new StockTraderRIBootstrapper();
     bootstrapper.Run();
 }
Exemple #6
0
        private static void RunInDebugMode()
        {
            StockTraderRIBootstrapper bootstrapper = new StockTraderRIBootstrapper();

            bootstrapper.Run();
        }
Exemple #7
0
 private void Application_Startup(object sender, StartupEventArgs e)
 {
     //this.RootVisual = new Shell();
     var bootstrapper = new StockTraderRIBootstrapper();
     bootstrapper.Run();
 }