Esempio 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;
 }
Esempio 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;
        }