Beispiel #1
0
 /// <summary>
 /// Invoked when an error occurs at playing
 /// </summary>
 /// <param name="sender">object</param>
 /// <param name="e">PlayerErrorOccurredEventArgs</param>
 private void Player_ErrorOccurred(object sender, PlayerErrorOccurredEventArgs e)
 {
     Console.WriteLine(" Player_ErrorOccurred  :" + e.Error);
 }
 private void OnErrorOccurred(object sender, PlayerErrorOccurredEventArgs e)
 {
     // TODO: Insert code to handle the error
     // This event is triggered when an error occurs from the player.
 }