功能区鼠标选项卡中的未处理异常移至

时间:2019-04-04 05:07:45

标签: .net infragistics

我有一个带有Ribbon控件和一些选项卡的Windows窗体应用程序,并显示了一个“未处理的异常”对话框,提示“句柄无效”。当我将鼠标悬停在选项卡上时,会随机发生这种情况。即使单击“继续”,提示该应用程序已终止,该对话框仍然存在。

基础设施版本: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)

0 个答案:

没有答案