Пример #1
0
        private void RepeatingAnimation_Completed(object sender, object e)
        {
            if (_isAnimationEnding)
            {
                RepeatingAnimation.Stop();

                if (_encounteredError)
                {
                    FailureAnimation.Begin();
                }
                else
                {
                    EndingAnimation.Begin();
                }
            }
            else
            {
                RepeatingAnimation.Begin();
            }
        }
Пример #2
0
 private void BeginningAnimation_Completed(object sender, object e)
 {
     RepeatingAnimation.Begin();
 }