private void OnCloseEvent(object sender, RoutedEventArgs e) { _musicController.Dispose(); _movieController.Dispose(); this.Close(); }
public void Dispose() { _subject?.Dispose(); }
private void MainWindow_Closed(object sender, EventArgs e) { _musicController.Dispose(); _movieController.Dispose(); }