Exemplo n.º 1
0
 private void OnPlayFrameSegment(object sender, FrameSegmentEventArgs e)
 {
     if (_animationView != null)
     {
         PrepareReverseAnimation((min, max) =>
         {
             _animationView.SetMinAndMaxFrame((int)min, (int)max);
             _needToResetFrames = true;
         }, e.From, e.To);
     }
 }
Exemplo n.º 2
0
 private void OnPlayFrameSegment(object sender, FrameSegmentEventArgs e)
 {
     _animationView?.PlayFromFrame(e.From, e.To, PlaybackFinishedIfActually);
     Element.IsPlaying = true;
 }