Example #1
0
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);

            var logger = new UpdaterLogger();
            var window = new MainWindow
            {
                DataContext = new MainViewModel(logger)
            };
            window.Show();
        }
Example #2
0
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);

            var logger = new UpdaterLogger();
            var window = new MainWindow
            {
                DataContext = new MainViewModel(logger)
            };

            window.Show();
        }