Exception:“System.Windows.Forms.Control”的类型初始值设定项引发异常。外部组件发生异常。

报错信息 1
TypeInitializationException: “System.Windows.Forms.Control”的类型初始值设定项引发异常。
--TypeName: System.Windows.Forms.Control
StackTrace:
   在 System.Windows.Forms.Control.get_MouseButtons()
   在 NL6gZ9SKuoZqpx8RQ8h.mBH9Z6SeEKs8IAgPy6V.Qa6uiCAjHwn()
   在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   在 System.Threading.ThreadHelper.ThreadStart()

SEHException: 外部组件发生异常。
StackTrace:
   在 System.Windows.Forms.Control..cctor()

版本:1.43.29 2025-04-26 22:38 Microsoft Windows NT 10.0.19045.0