示例#1
0
 public void Deactivate()
 {
     if (viewModel != null)
     {
         this.viewModel.Dispose();
     }
     this.view = null;
 }
 public void Deactivate()
 {
     this.viewModel.Dispose();
     this.view = null;
 }
 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;
 }
 public void Deactivate()
 {
     this.viewModel.Dispose();
     this.view = null;
 }