private void OnStartup(object sender, StartupEventArgs e) { var dataContext = new ViewModel.Partition(); var window = new View.MainWindow(dataContext); window.Show(); }