Exception:没有为“System.Windows.Media.Animation.ObjectAnimationUsingKeyFrames”指定任何目标。

报错信息 1
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)

版本:1.43.57 2025-04-06 03:32 Microsoft Windows NT 10.0.22631.0