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