void onMediaOpened(object sender, RoutedEventArgs e) { Debug.WriteLine(DevOp.GetCaller()); try { if (_mid != null && me_Xm.CanSeek && me_Xm.NaturalDuration > _mid.PlayPosn) { me_Xm.Position = _mid.PlayPosn; // me1.Position = new TimeSpan(0, 1, 0, 0, 0); } } catch (Exception ex) { Debug.WriteLine(ex.Message); if (Debugger.IsAttached) { Debugger.Break(); } else { throw; } } }
void onMediaCoStChd(object sender, RoutedEventArgs e) { Debug.WriteLine(DevOp.GetCaller()); }
void onMediaPmfd(MediaElement sender, PartialMediaFailureDetectedEventArgs args) { Debug.WriteLine(DevOp.GetCaller()); }
void onMediaFailed(object sender, ExceptionRoutedEventArgs e) { Debug.WriteLine(DevOp.GetCaller()); }