예제 #1
0
        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;
                                   } }
        }
예제 #2
0
 void onMediaCoStChd(object sender, RoutedEventArgs e)
 {
     Debug.WriteLine(DevOp.GetCaller());
 }
예제 #3
0
 void onMediaPmfd(MediaElement sender, PartialMediaFailureDetectedEventArgs args)
 {
     Debug.WriteLine(DevOp.GetCaller());
 }
예제 #4
0
 void onMediaFailed(object sender, ExceptionRoutedEventArgs e)
 {
     Debug.WriteLine(DevOp.GetCaller());
 }