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

报错信息 1
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.sskhVSZ61ax(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.45.5 2026-10-12 00:04 Microsoft Windows NT 10.0.26200.0
版本:1.45.5 2026-10-11 22:55 Microsoft Windows NT 10.0.26300.0
版本:1.45.5 2026-10-09 11:11 Microsoft Windows NT 10.0.26200.0
版本:1.45.5 2026-10-06 06:06 Microsoft Windows NT 10.0.19045.0
版本:1.45.5 2026-10-06 05:46 Microsoft Windows NT 10.0.19045.0
版本:1.45.5 2026-10-03 16:03 Microsoft Windows NT 10.0.26200.0
版本:1.45.5 2026-09-28 11:07 Microsoft Windows NT 10.0.26200.0
版本:1.45.5 2026-09-27 18:12 Microsoft Windows NT 10.0.26200.0
版本:1.45.5 2026-09-23 14:28 Microsoft Windows NT 10.0.26200.0
版本:1.45.5 2026-09-20 07:47 Microsoft Windows NT 10.0.22631.0
版本:1.45.5 2026-09-19 16:01 Microsoft Windows NT 10.0.26200.0
版本:1.45.5 2026-09-18 19:43 Microsoft Windows NT 10.0.26200.0
版本:1.45.5 2026-09-18 12:22 Microsoft Windows NT 10.0.26200.0
版本:1.45.5 2026-09-17 21:31 Microsoft Windows NT 10.0.26200.0
版本:1.45.5 2026-09-16 16:50 Microsoft Windows NT 10.0.26220.0
报错信息 2
InvalidOperationException: 关闭 Window 之后,无法设置 Visibility,也无法调用 Show、ShowDialogor 或 WindowInteropHelper.EnsureHandle。
StackTrace:
   在 System.Windows.Window.VerifyCanShow()
   在 System.Windows.Window.Show()
   在 WindowAttach.Services.WindowAttachManagerService.<>c__DisplayClass10_1.<SyncPopupVisibility>b__1()
   在 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.45.5 2026-09-16 16:46 Microsoft Windows NT 10.0.26200.0