Exception:值不能为 null。 参数名: handler

报错信息 1
ArgumentNullException: 值不能为 null。
参数名: handler
StackTrace:
   在 System.Windows.EventHandlersStore.Add(EventPrivateKey key, Delegate handler)
   在 System.Windows.Media.Animation.Timeline.AddEventHandler(EventPrivateKey key, Delegate handler)
   在 DynamicClass.文本跑马灯控制器.初始化动画()
   在 DynamicClass.MainWindow.创建迷你窗口()
   在 DynamicClass.MainWindow.切换迷你模式()
   在 DynamicClass.MainWindow.<.ctor>b__1c(Object s, EventArgs e)
   在 System.Windows.WeakEventManager.ListenerList`1.DeliverEvent(Object sender, EventArgs e, Type managerType)
   在 System.Windows.WeakEventManager.DeliverEvent(Object sender, EventArgs args)
   在 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.44.55 2026-04-17 19:05 Microsoft Windows NT 10.0.28000.0