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