Пример #1
0
 private async void OnPlayingChanged(object sender, PlayingChangedEventArgs e)
 {
     await
         CoreApplication.MainView.CoreWindow.Dispatcher.RunAsync(CoreDispatcherPriority.Normal,
             () =>
             {
                 Progress.Value = e.Progress;
             });
 }
 protected virtual void OnPlayingChanged(PlayingChangedEventArgs e)
 {
     PlayingChanged?.Invoke(this, e);
 }
 private void OnPlayingChanged(object sender, PlayingChangedEventArgs e)
 {
     if (sender == CurrentPlaybackManager)
         PlayingChanged?.Invoke(sender, e);
 }