Exemple #1
0
 private void WindowLoaded(object sender, RoutedEventArgs e)
 {
     DataContext = (code = new MainPageViewModel());
     controller  = new MainPageController(code);
 }
Exemple #2
0
 private void WindowLoaded(object sender, RoutedEventArgs e)
 {
     DataContext = (code = new MainPageViewModel());
       controller = new MainPageController(code);
 }
 public MainPageController(MainPageViewModel code)
 {
     this.code = code;
 }