コード例 #1
0
 private void startButton_Click(object sender, RoutedEventArgs e)
 {
     viewModel = vmlocator.GetViewModel(localPivotName);
     // startButton = sender as Button;
     viewModel.Reset();
     this.DataContext = viewModel.GetTask();
 }
コード例 #2
0
 private void stopTraining()
 {
     this.viewModel = vmlocator.GetViewModel("StubTrainingViewModel");
     this.DataContext = viewModel.GetTask();
 }