private void OnClosing(object sender, CancelEventArgs e) { MusicUnframed mu = DataContext as MusicUnframed; mu.Save(); }
private void OnLoaded(object sender, RoutedEventArgs e) { DataContext = new MusicUnframed(this); }
private void OnClosing(object sender, CancelEventArgs e) { MusicUnframed mu = DataContext as MusicUnframed; mu.Save(); }
private void OnLoaded(object sender, RoutedEventArgs e) { DataContext = new MusicUnframed(this); }