示例#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;
 }
示例#2
0
文件: App.xaml.cs 项目: yadavgn/Wide
        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;
        }