private void Application_Startup(object sender, StartupEventArgs e) { // Create the ViewModel and expose it using the View's DataContext Views.HasherView view = new Views.HasherView(); view.DataContext = new ViewModels.HashingViewModel(); view.Show(); }