Exception:无法访问已释放的对象。 对象名:“ContextMenuStrip”。

报错信息

ObjectDisposedException: 无法访问已释放的对象。
对象名:“ContextMenuStrip”。
--Message: 无法访问已释放的对象。
对象名:“ContextMenuStrip”。
--ObjectName: ContextMenuStrip
StackTrace:
   在 System.Windows.Forms.Control.CreateHandle()
   在 System.Windows.Forms.ToolStripDropDown.CreateHandle()
   在 System.Windows.Forms.Control.get_Handle()
   在 System.Windows.Forms.ToolStripDropDown.ReparentToDropDownOwnerWindow()
   在 System.Windows.Forms.ToolStripDropDown.SetVisibleCore(Boolean visible)
   在 System.Windows.Forms.ToolStripDropDown.set_Visible(Boolean value)
   在 System.Windows.Forms.ToolStripManager.ModalMenuFilter.CloseActiveDropDown(ToolStripDropDown activeToolStripDropDown, ToolStripDropDownCloseReason reason)
   在 System.Windows.Forms.ToolStripManager.ModalMenuFilter.ProcessMouseButtonPressed(IntPtr hwndMouseMessageIsFrom, Int32 x, Int32 y)
   在 System.Windows.Forms.ToolStripManager.ModalMenuFilter.PreFilterMessage(Message& m)
   在 System.Windows.Forms.Application.ThreadContext.ProcessFilters(MSG& msg, Boolean& modified)
   在 System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
   在 System.Windows.Forms.ToolStripManager.ModalMenuFilter.HostedWindowsFormsMessageHook.MessageHookProc(Int32 nCode, IntPtr wparam, IntPtr lparam)

 

解决方法

暂无解决方案。

相关信息
1 查看
3天6小时前
Quicker版本
版本 反馈次数
1.44.55 1