InvalidOperationException: 关闭 Window 之后,无法设置 Visibility,也无法调用 Show、ShowDialogor 或 WindowInteropHelper.EnsureHandle。 StackTrace: 在 System.Windows.Window.VerifyCanShow() 在 System.Windows.Window.CreateSourceWindow(Boolean duringShow) 在 System.Windows.Interop.WindowInteropHelper.EnsureHandle() 在 DynamicClass.GlobalMouseHook.MouseHookCallback(Int32 nCode, IntPtr wParam, IntPtr lParam)