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-31 01:19 Microsoft Windows NT 10.0.19045.0
版本:1.45.5 2026-10-30 17:36 Microsoft Windows NT 10.0.26200.0
版本:1.45.5 2026-10-26 10:19 Microsoft Windows NT 10.0.26200.0
版本:1.45.5 2026-10-25 08:38 Microsoft Windows NT 10.0.18363.0
版本:1.45.5 2026-10-24 05:36 Microsoft Windows NT 10.0.26100.0
版本:1.45.5 2026-10-22 10:27 Microsoft Windows NT 10.0.26300.0
版本:1.45.5 2026-10-21 18:26 Microsoft Windows NT 10.0.19044.0
版本:1.45.5 2026-10-15 14:27 Microsoft Windows NT 10.0.26200.0
版本:1.45.5 2026-10-15 12:28 Microsoft Windows NT 10.0.26100.0
版本: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
报错信息 2
InvalidOperationException: 关闭 Window 之后,无法设置 Visibility,也无法调用 Show、ShowDialogor 或 WindowInteropHelper.EnsureHandle。
StackTrace:
   在 System.Windows.Window.VerifyCanShow()
   在 System.Windows.Window.CreateSourceWindow(Boolean duringShow)
   在 System.Windows.Interop.WindowInteropHelper.EnsureHandle()
   在 Quicker.View.UI.WhiteboardWindow.<BtnSave_OnClick>d__31.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.45.5 2026-10-23 15:19 Microsoft Windows NT 10.0.19043.0