예제 #1
0
 protected override void OnStartup(StartupEventArgs e)
 {
     base.OnStartup(e);
     b = new HDevelopBootstrapper();
     b.Run();
     var shell = b.Container.Resolve<IShell>();
     (shell as Window).Loaded += App_Loaded;
     (shell as Window).Unloaded += App_Unloaded;
 }
예제 #2
0
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);
            b = new HDevelopBootstrapper();
            b.Run();
            var shell = b.Container.Resolve <IShell>();

            (shell as Window).Loaded   += App_Loaded;
            (shell as Window).Unloaded += App_Unloaded;
        }