Infragistics功能区TabManager抛出“句柄无效”

时间:2019-04-04 05:48:08

标签: .net infragistics

我有一个带有Infragistics功能区控件的Windows窗体应用程序。一些用户抱怨将鼠标悬停在功能区选项卡上时会弹出“未处理的异常”对话框。
基础版本:10.3.20103.2145 堆栈跟踪:

Misc - 2019/04/03 08:05:13:728 - Cat:0 - [Thread 1] An unhandled exception was encountered and Application_ThreadException invoked: : - The handle is invalid
   at System.Drawing.Graphics.CopyFromScreen(Int32 sourceX, Int32 sourceY, Int32 destinationX, Int32 destinationY, Size blockRegionSize, CopyPixelOperation copyPixelOperation)
   at System.Drawing.Graphics.CopyFromScreen(Point upperLeftSource, Point upperLeftDestination, Size blockRegionSize)
   at Infragistics.Win.ControlUIElementBase.CaptureOldImage(UIElement element)
   at Infragistics.Win.TransitionInfo..ctor(UIElement element, Transition transition, TransitionSettings settings)
   at Infragistics.Win.ControlUIElementBase.InitiateTransition(TransitionSettings settings, Transition transition, UIElement element)
   at Infragistics.Win.UIElement.InitiateTransition(TransitionSettings settings, UIElementTransitionType transitionType)
   at Infragistics.Win.UltraWinToolbars.Ribbon.RibbonTabManager.MouseLeaveTab(ITabItem tab)
   at Infragistics.Win.UltraWinTabs.TabItemUIElement.OnMouseLeave()
   at Infragistics.Win.ControlUIElementBase.ElementEntered(UIElement element, Boolean triggerMouseLeavesOnly)
   at Infragistics.Win.ControlUIElementBase.SyncMouseEntered(Boolean triggerMouseLeavesOnly, UIElementInputType inputType, Boolean ignoreLastElementEntered)
   at Infragistics.Win.ControlUIElementBase.ProcessMouseEnter(Object sender, EventArgs e)
   at Infragistics.Win.Utilities.ProcessEvent(Control control, ProcessEvent eventToProcess, EventArgs e)
   at Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea.OnMouseEnter(EventArgs e)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

任何人有任何想法的异常原因可能是什么?

0 个答案:

没有答案