报错信息 1
InvalidOperationException: 在 Window 关闭时,无法将 Visibility 设置为 Visible,也无法调用 Show、ShowDialog、Close 或 WindowInteropHelper.EnsureHandle。
StackTrace:
在 System.Windows.Window.VerifyNotClosing()
在 System.Windows.Window.InternalClose(Boolean shutdown, Boolean ignoreCancel)
在 System.Windows.Window.OnDeactivated(EventArgs e)
在 System.Windows.Window.HandleActivate(Boolean windowActivated)
在 System.Windows.Window.WmActivate(IntPtr wParam)
在 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-15 16:38
Microsoft Windows NT 10.0.19045.0
版本:1.43.19
2024-09-12 18:33
Microsoft Windows NT 10.0.19045.0
版本:1.43.19
2024-09-10 22:46
Microsoft Windows NT 10.0.19045.0
版本:1.43.19
2024-09-06 22:20
Microsoft Windows NT 10.0.22631.0
版本:1.43.19
2024-09-06 10:29
Microsoft Windows NT 10.0.19045.0
版本:1.43.19
2024-09-05 01:45
Microsoft Windows NT 10.0.19045.0
版本:1.43.19
2024-09-04 22:11
Microsoft Windows NT 10.0.19042.0
版本:1.43.19
2024-09-04 21:20
Microsoft Windows NT 10.0.20348.0
版本:1.43.19
2024-09-04 20:52
Microsoft Windows NT 10.0.19045.0
版本:1.43.19
2024-09-04 18:54
Microsoft Windows NT 10.0.22631.0
版本:1.43.19
2024-09-04 18:15
Microsoft Windows NT 10.0.22621.0
版本:1.43.19
2024-09-02 03:56
Microsoft Windows NT 10.0.22631.0
版本:1.43.19
2024-08-27 09:31
Microsoft Windows NT 10.0.19041.0
版本:1.43.19
2024-08-26 16:37
Microsoft Windows NT 10.0.22631.0
版本:1.43.19
2024-08-23 19:02
Microsoft Windows NT 10.0.19045.0
报错信息 2
InvalidOperationException: 在 Window 关闭时,无法将 Visibility 设置为 Visible,也无法调用 Show、ShowDialog、Close 或 WindowInteropHelper.EnsureHandle。
StackTrace:
在 System.Windows.Window.VerifyNotClosing()
在 System.Windows.Window.InternalClose(Boolean shutdown, Boolean ignoreCancel)
在 System.Windows.Application.DoShutdown()
在 System.Windows.Application.ShutdownImpl()
在 System.Windows.Application.ShutdownCallback(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-09 11:05
Microsoft Windows NT 10.0.22000.0