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