Exemplo n.º 1
0
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);

            AppStartup startup = new AppStartup();

            startup.Initialize();
            startup.Boot();
        }
Exemplo n.º 2
0
        public MainWindow()
        {
            AppStartup.Initialize();
            InitializeComponent();

            var vmc = DI.Provider.GetService <ViewModelsController>();

            DataContext = vmc.GetViewModel <WindowViewModel>();
        }