Example #1
0
 private void OnGroupLoop(object sender, RoutedEventArgs e)
 {
     if (model?.Motion != null && sender is MenuItem)
     {
         OnStopLoop(null, null);
         var menuItem = (MenuItem)sender;
         motionPlayer      = model.CreatePlayer(RenderView, menuItem.Header.ToString());
         motionPlayer.Loop = true;
         motionPlayer.Begin();
     }
 }