private void RepeatingAnimation_Completed(object sender, object e) { if (_isAnimationEnding) { RepeatingAnimation.Stop(); if (_encounteredError) { FailureAnimation.Begin(); } else { EndingAnimation.Begin(); } } else { RepeatingAnimation.Begin(); } }
private void BeginningAnimation_Completed(object sender, object e) { RepeatingAnimation.Begin(); }