Exception:“count”必须为非负值。 参数名: count

报错信息 1
ArgumentOutOfRangeException: “count”必须为非负值。
参数名: count
--Message: “count”必须为非负值。
参数名: count
StackTrace:
   在 System.String.CtorCharCount(Char c, Int32 count)
   在 DynamicClass.文本跑马灯控制器.计算文本并启动动画(String 文本)
   在 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-16 15:27 Microsoft Windows NT 10.0.28000.0