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

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