Exception:无法使用值“-00:02:55”创建 KeyTime,因为它小于零。 参数名: timeSpan

报错信息

ArgumentOutOfRangeException: 无法使用值“-00:02:55”创建 KeyTime,因为它小于零。
参数名: timeSpan
--Message: 无法使用值“-00:02:55”创建 KeyTime,因为它小于零。
参数名: timeSpan
StackTrace:
   在 System.Windows.Media.Animation.KeyTime.FromTimeSpan(TimeSpan timeSpan)
   在 DynamicClass.MainWindow.UpdateTextAndAnimation(Window win, IDictionary`2 dataContext, ICustomWindowContext winContext)
   在 DynamicClass.MainWindow.<>c__DisplayClass8c.<<OnWindowLoaded>b__4e>d__9d.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 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)

 

解决方法

暂无解决方案。

相关信息
0 查看
2025-04-15 04:44
Quicker版本
版本 反馈次数