我正在学习wpf,同时用它开发应用程序。我很难弄清楚如何在双动画(或其他类型)完成后运行某些东西。例如:DoubleAnimationmyanim=newDoubleAnimation();myanim.From=10;myanim.To=100;myanim.Duration=newDuration(TimeSpan.FromSeconds(3));myview.BeginAnimation(Button.OpacityPropert,myanim);//CodetodosomethingwhenanimationendsusingSystem;usingSystem.Collect