Exception:创建窗口句柄时出错。

报错信息 1
Win32Exception: 创建窗口句柄时出错。
--NativeErrorCode: 1158
StackTrace:
   在 System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
   在 System.Windows.Forms.Control.CreateHandle()
   在 System.Windows.Forms.Control.get_Handle()
   在 System.Windows.Forms.Application.ParkHandle(CreateParams cp, DpiAwarenessContext dpiAwarenessContext)
   在 System.Windows.Forms.Control.CreateHandle()
   在 System.Windows.Forms.Control.get_Handle()
   在 System.Windows.Forms.Control.CreateGraphicsInternal()
   在 System.Windows.Forms.ThreadExceptionDialog..ctor(Exception t)
   在 System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
   在 System.Windows.Forms.NotifyIcon.NotifyIconNativeWindow.OnThreadException(Exception e)
   在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

版本:1.45.5 2026-09-30 17:26 Microsoft Windows NT 10.0.22631.0
版本:1.43.0 2026-09-25 07:54 Microsoft Windows NT 10.0.19045.0
版本:1.45.5 2026-09-24 20:44 Microsoft Windows NT 10.0.26200.0
报错信息 2
Win32Exception: 创建窗口句柄时出错。
--NativeErrorCode: 0
StackTrace:
   在 System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
   在 System.Windows.Forms.Control.CreateHandle()
   在 System.Windows.Forms.Control.get_Handle()
   在 System.Windows.Forms.Application.ParkHandle(CreateParams cp, DpiAwarenessContext dpiAwarenessContext)
   在 System.Windows.Forms.Control.CreateHandle()
   在 System.Windows.Forms.Control.get_Handle()
   在 System.Windows.Forms.Control.CreateGraphicsInternal()
   在 System.Windows.Forms.ThreadExceptionDialog..ctor(Exception t)
   在 System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
   在 System.Windows.Forms.NotifyIcon.NotifyIconNativeWindow.OnThreadException(Exception e)
   在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

版本:1.45.5 2026-09-25 10:47 Microsoft Windows NT 10.0.26200.0
版本:1.45.5 2026-09-13 18:51 Microsoft Windows NT 10.0.19045.0
报错信息 3
Win32Exception: 创建窗口句柄时出错。
--NativeErrorCode: 1406
StackTrace:
   在 System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
   在 System.Windows.Forms.Control.CreateHandle()
   在 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   在 System.Windows.Forms.Control.CreateControl()
   在 System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
   在 System.Windows.Forms.ButtonBase.OnVisibleChanged(EventArgs e)
   在 System.Windows.Forms.Control.OnParentVisibleChanged(EventArgs e)
   在 System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
   在 System.Windows.Forms.Form.OnVisibleChanged(EventArgs e)
   在 System.Windows.Forms.Control.SetVisibleCore(Boolean value)
   在 System.Windows.Forms.Form.SetVisibleCore(Boolean value)
   在 System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   在 System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   在 System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
   在 System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
   在 System.Windows.Forms.NotifyIcon.NotifyIconNativeWindow.OnThreadException(Exception e)
   在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   在 System.Windows.Forms.NativeWindow.WindowClass.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

版本:1.45.5 2026-09-23 00:16 Microsoft Windows NT 10.0.22621.0