Exception:类仍有打开的窗口。

报错信息 1
Win32Exception: 类仍有打开的窗口。
--NativeErrorCode: 1412
StackTrace:
   在 MS.Win32.UnsafeNativeMethods.UnregisterClass(IntPtr atomString, IntPtr hInstance)
   在 MS.Win32.HwndWrapper.UnregisterClass(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-08-28 18:22 Microsoft Windows NT 6.1.7601 Service Pack 1