Exception:ウィンドウ ハンドルが無効です。

报错信息 1
Win32Exception: ウィンドウ ハンドルが無効です。
--NativeErrorCode: 1400
StackTrace:
   場所 Standard.NativeMethods.GetWindowPlacement(IntPtr hwnd)
   場所 System.Windows.Shell.WindowChromeWorker._GetHwndState()
   場所 System.Windows.Shell.WindowChromeWorker._UpdateSystemMenu(Nullable`1 assumeState)
   場所 System.Windows.Shell.WindowChromeWorker._HandleWindowPosChanged(WM uMsg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   場所 System.Windows.Shell.WindowChromeWorker._WndProc(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.68 2025-04-25 17:10 Microsoft Windows NT 10.0.19045.0