private void Application_Startup(object sender, StartupEventArgs e) { _mainView = new Views.MainView(); _mainView.DataContext = new ViewModels.MainViewModel(); _mainView.Show(); }