InvalidOperationException: 没有为“System.Windows.Media.Animation.ObjectAnimationUsingKeyFrames”指定任何目标。 StackTrace: 在 System.Windows.Media.Animation.Storyboard.ClockTreeWalkRecursive(Clock currentClock, DependencyObject containingObject, INameScope nameScope, DependencyObject parentObject, String parentObjectName, PropertyPath parentPropertyPath, HandoffBehavior handoffBehavior, HybridDictionary clockMappings, Int64 layer) 在 System.Windows.Media.Animation.Storyboard.ClockTreeWalkRecursive(Clock currentClock, DependencyObject containingObject, INameScope nameScope, DependencyObject parentObject, String parentObjectName, PropertyPath parentPropertyPath, HandoffBehavior handoffBehavior, HybridDictionary clockMappings, Int64 layer) 在 System.Windows.Media.Animation.Storyboard.BeginCommon(DependencyObject containingObject, INameScope nameScope, HandoffBehavior handoffBehavior, Boolean isControllable, Int64 layer) 在 System.Windows.Media.Animation.Storyboard.Begin() 在 DynamicClass.各种功能的类.火焰边框(Control control, String folderPath, Int32 intervalMilliseconds) 在 DynamicClass.MainWindow.<>c__DisplayClass75.<OnWindowLoaded>b__35(Object sender, EventArgs e) 在 System.Windows.Window.OnContentRendered(EventArgs e) 在 System.Windows.Window.<PostContentRendered>b__204_0(Object unused) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)