示例#1
0
 private void OnMediaFileFailed(object sender, MediaFileFailedEventArgs e)
 {
     if (sender == CurrentPlaybackManager)
     {
         OnStatusChanged(sender, new StatusChangedEventArgs(MediaPlayerStatus.Failed));
         MediaFileFailed?.Invoke(sender, e);
     }
 }
 protected virtual void OnMediaFileFailed(MediaFileFailedEventArgs e)
 {
     MediaFileFailed?.Invoke(this, e);
 }