Exception:无法将 Owner 属性设置为已关闭的 Window。

报错信息 1
InvalidOperationException: 无法将 Owner 属性设置为已关闭的 Window。
StackTrace:
   在 System.Windows.Window.set_Owner(Window value)
   在 DynamicClass.ThrowException(Exception ex)
   在 DynamicClass.<CheckOldVersionData>d__4.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)

版本:1.42.43 2024-06-09 20:24 Microsoft Windows NT 10.0.19045.0