Пример #1
0
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);

            IUIContainer uIcontainer = new UIContainer();
            IContainer   container   = uIcontainer.Config();

            using (var scope = container.BeginLifetimeScope())
            {
                var app = scope.Resolve <IProgramm>();

                app.Run();
            }
        }