Exception:关闭 Window 之后,无法设置 Visibility,也无法调用 Show、ShowDialogor 或 WindowInteropHelper.EnsureHandle。

报错信息 1
InvalidOperationException: 关闭 Window 之后,无法设置 Visibility,也无法调用 Show、ShowDialogor 或 WindowInteropHelper.EnsureHandle。
StackTrace:
   在 System.Windows.Window.VerifyCanShow()
   在 System.Windows.Window.Show()
   在 xaoPHLbM7kkQ2RCbZwy.AZqLTqb1TOOFMAlYBe6.XMbC3XCwBB(String  )
   在 xaoPHLbM7kkQ2RCbZwy.AZqLTqb1TOOFMAlYBe6.<ShowSetupWizardAsync>d__2.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 Quicker.Domain.Services.DataService.<>c.Ek1vc7iKh2IwraB9rPv.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.43.19 2024-09-07 07:36 Microsoft Windows NT 10.0.19045.0
报错信息 2
InvalidOperationException: 关闭 Window 之后,无法设置 Visibility,也无法调用 Show、ShowDialogor 或 WindowInteropHelper.EnsureHandle。
StackTrace:
   在 System.Windows.Window.VerifyCanShow()
   在 System.Windows.Window.CreateSourceWindow(Boolean duringShow)
   在 System.Windows.Interop.WindowInteropHelper.EnsureHandle()
   在 DynamicClass.GetWinSize()
   在 DynamicClass.OnClosing(Object sender, CancelEventArgs e)
   在 System.Windows.Window.OnClosing(CancelEventArgs e)
   在 System.Windows.Window.WmClose()
   在 System.Windows.Window.WindowFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   在 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.43.19 2024-09-05 15:31 Microsoft Windows NT 10.0.22635.0
报错信息 3
InvalidOperationException: 关闭 Window 之后,无法设置 Visibility,也无法调用 Show、ShowDialogor 或 WindowInteropHelper.EnsureHandle。
StackTrace:
   在 System.Windows.Window.VerifyCanShow()
   在 System.Windows.Window.Show()
   在 Quicker.Domain.Services.ActionEditMgr.EditAction(ActionProfile profile, Int32 row, Int32 col, ActionItem actionItem, Nullable`1 newActionType, EditActionParam editParam, Boolean forceReadonly)
   在 Quicker.Domain.Services.ActionEditMgr.EditActionById(String actionId, EditActionParam editParam, Boolean forceReadOnly)
   在 Quicker.Domain.Services.ActionEditMgr.<>c__DisplayClass57_0.B6XBeNxnsXp(Object sender, RoutedEventArgs args)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
   在 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.43.19 2024-09-03 02:21 Microsoft Windows NT 10.0.22631.0