InvalidOperationException: 未找到可以 register Name“平移变换”的 NameScope。 StackTrace: 在 System.Windows.FrameworkElement.RegisterName(String name, Object scopedElement) 在 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)