У меня есть приложение Windows Forms с элементом управления ленты и некоторыми вкладками, и я получаю диалоговое окно Unhandled Exception, говорящее «Дескриптор недействителен».Это происходит случайно, когда я наводю курсор на вкладки.Диалоговое окно сохраняется даже после того, как я нажимаю Продолжить, предлагая завершить работу приложения.
Версия Infragistics: 10.3.20103.2145
Приложена полная трассировка.
Misc - 2019/04/03 09:56:52:504 - Cat:0 - [Thread 1] An unhandled exception was encountered and Aphaplication_ThreadException invoked: : - The operation completed successfully
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.ProcessMouseMoveHelper(Object sender, MouseEventArgs e)
at Infragistics.Win.ControlUIElementBase.ProcessMouseMove(Object sender, MouseEventArgs e)
at Infragistics.Win.Utilities.ProcessEvent(Control control, ProcessEvent eventToProcess, EventArgs e)
at Infragistics.Win.UltraControlBase.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(Message& m)
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)