Example #1
0
        void AppStartup(object sender, StartupEventArgs args)
        {

          
            var mainWindow = new MainWindow
            {
                DataContext = new MainWindowViewModel()
            };
            mainWindow.Show();
            Tools.CheckForUpdates();
        }
Example #2
0
        private void AppStartup(object sender, StartupEventArgs args)
        {
            if (!Debugger.IsAttached)
                ExceptionHandler.AddGlobalHandlers();

            var mainWindow = new MainWindow
            {
                DataContext = new MainWindowViewModel()
            };
            mainWindow.Show();
            Tools.CheckForUpdates();
        }