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; }
public void Deactivate() { viewModel.Dispose(); view = null; }
private void CreateView() { view = new AudioPlaybackDemoView(); viewModel = new AudioPlaybackViewModel(visualizations); view.DataContext = viewModel; }