コード例 #1
0
 private void Previous_Click(object sender, RoutedEventArgs e)
 {
     if (_playbackService.Position.TotalSeconds > 5)
     {
         _playbackService.SetPosition(TimeSpan.Zero);
     }
     else
     {
         _playbackService.MovePrevious();
     }
 }