Exception:關閉視窗之後,無法設定 Visibility 或呼叫 Show、ShowDialog 或 WindowInteropHelper.EnsureHandle。

报错信息 1
InvalidOperationException: 關閉視窗之後,無法設定 Visibility 或呼叫 Show、ShowDialog 或 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-25 15:10 Microsoft Windows NT 10.0.26200.0