예제 #1
0
 public void Deactivate()
 {
     if (viewModel != null)
     {
         this.viewModel.Dispose();
     }
     this.view = null;
 }
예제 #2
0
 public void Deactivate()
 {
     this.viewModel.Dispose();
     this.view = null;
 }
예제 #3
0
 private void CreateView()
 {
     view = new AudioPlaybackDemoView();
     this.viewModel = new AudioPlaybackViewModel(visualizations);
     view.DataContext = viewModel;
 }
예제 #4
0
 public void Deactivate()
 {
     viewModel.Dispose();
     view = null;
 }
예제 #5
0
 private void CreateView()
 {
     view             = new AudioPlaybackDemoView();
     viewModel        = new AudioPlaybackViewModel(visualizations);
     view.DataContext = viewModel;
 }
예제 #6
0
 public void Deactivate()
 {
     this.viewModel.Dispose();
     this.view = null;
 }