I am making Windows Store App in VS2012 c#
.
Now I have 4 animation storyboard named "Jump", "Sit", "Roll", "Eat".
Now I have a button click event
and want to check if any of these four animation is currently playing or not.
If no I will display Message using MessageBox.show()
property. And if yes, I will stop that current animation.
Thanking you in advance :)
you can check the ColackState of storyBoards and decide on basis of that.like this..
ClockState srt = StryBrdSelectedSubjectlistGoOut.GetCurrentState();
if state for all the storyboard is stopped..show your message..hope it helps you..
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.