private void OnStartup(object sender, StartupEventArgs e)
 {
     // Create the ViewModel and expose it using the View's DataContext
     Views.MainView view = new Views.MainView();
     view.DataContext = new ViewModels.MainViewModel();
     view.Show();
 }
Beispiel #2
0
 private void OnStartup(object sender, StartupEventArgs e)
 {
     Views.MainView view = new Views.MainView();
     view.DataContext = new ViewModels.MainViewModel();
     view.Show();
 }