wiledog
2019-05-08 00:02winform程序,Program中的main方法出现错误
80C#写的winform程序,使用了第三方控件DevExpress,页面每隔2秒有数据刷新。
程序多数时间运行正常,但有时运行一段后出现如下错误:
请技术大牛帮忙看看
stackTrace中信息
在 DevExpress.Utils.AppearanceObject.CalcDefaultTextSize(Graphics g)
在 DevExpress.XtraEditors.ViewInfo.BaseControlViewInfo.CalcTextSizeCore(GraphicsCache cache, String text, Int32 maxWidth)
在 DevExpress.XtraEditors.ViewInfo.BaseControlViewInfo.CalcTextSizeCore(Graphics g, String text, Int32 maxWidth)
在 DevExpress.XtraEditors.ViewInfo.BaseControlViewInfo.CalcTextSize(Graphics g, Boolean useDisplayText)
在 DevExpress.XtraEditors.ViewInfo.BaseEditViewInfo.CalcBestFit(Graphics g)
在 DevExpress.XtraEditors.ViewInfo.TextEditViewInfo.CalcMinHeightCore(Graphics g)
在 DevExpress.XtraGrid.Views.Base.ViewInfo.BaseViewInfo.CalcMinEditorHeight(AppearanceObject[] styles)
在 DevExpress.XtraGrid.Views.Grid.ViewInfo.GridViewInfo.CalcMinRowHeight()
在 DevExpress.XtraGrid.Views.Grid.ViewInfo.GridViewInfo.CalcRectsConstants()
在 DevExpress.XtraGrid.Views.Grid.ViewInfo.GridViewInfo.CalcRects(Rectangle bounds, Boolean partital)
在 DevExpress.XtraGrid.Views.Grid.ViewInfo.GridViewInfo.CalcCore(Graphics g, Rectangle bounds)
在 DevExpress.XtraGrid.Views.Grid.ViewInfo.GridViewInfo.Calc(Graphics g, Rectangle bounds)
在 DevExpress.XtraGrid.Views.Grid.ViewInfo.GridViewInfo.FullRecalcScroll(Graphics g, Rectangle bounds)
在 DevExpress.XtraGrid.Views.Grid.ViewInfo.GridViewInfo.CalcAfterVertScrollCore(Graphics g, Rectangle bounds, Boolean useCache)
在 DevExpress.XtraGrid.Views.Grid.ViewInfo.GridViewInfo.CalcAfterVertScroll(Graphics g, Rectangle bounds, Boolean useCache)
在 DevExpress.XtraGrid.Views.Grid.GridView.RefreshRows(Boolean useCache, Boolean afterScroll)
在 DevExpress.XtraGrid.Views.Grid.GridView.CalculateDataCore()
在 DevExpress.XtraGrid.Views.Grid.GridView.CalculateData()
在 DevExpress.XtraGrid.Views.Base.BaseView.Draw(GraphicsCache e)
在 DevExpress.XtraGrid.Views.Grid.GridView.Draw(GraphicsCache e)
在 DevExpress.XtraGrid.GridControl.OnPaint(PaintEventArgs e)
在 DevExpress.Utils.Drawing.ControlPaintHelper.PaintWithErrorHandling(PaintEventArgs paintEventArgs, Int32 layer)
在 DevExpress.Utils.Drawing.ControlPaintHelper.ProcessWMPaint(Message& m)
在 DevExpress.XtraGrid.GridControl.CheckProcessMsg(Message& m)
在 DevExpress.XtraGrid.GridControl.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
- 点赞
- 回答
- 收藏
- 复制链接分享
3条回答
为你推荐
- winform程序,Program中的main方法出现错误
- c#
- 4个回答
- 如何用VS2012把一个exe封装成dll并调用?
- c语言
- c++
- visual studio
- 1个回答
- Winform子线程开启的窗体无法响应DragEnter事件?
- 子线程
- 3个回答
- 引用.net中的System.speech包,但是在程序运行时报错。
- winform
- 1个回答
- C#调用c++的dll执行带字符串参数的函数时遇到的问题
- net
- 动态加载 ++ ll
- c++
- 2个回答