开发者论坛

 找回密码
 注册 (请使用非IE浏览器)
查看: 4321|回复: 2

Winform 程序操作了一段时间,异常了。

[复制链接]

0

精华

8

贡献

43

赞扬

帖子
59
软币
541
在线时间
97 小时
注册时间
2013-7-17
发表于 2013-8-20 09:17:15 | 显示全部楼层 |阅读模式
有关调用实时(JIT)调试而不是此对话框的详细信息,
请参见此消息的结尾。

************** 异常文本 **************
System.Runtime.InteropServices.ExternalException: GDI+ 中发生一般性错误。
   在 System.Drawing.Image.FromHbitmap(IntPtr hbitmap, IntPtr hpalette)
    在 System.Drawing.Image.FromHbitmap(IntPtr hbitmap)
    在 System.Drawing.Icon.ToBitmap()
    在 System.Drawing.Graphics.DrawIcon(Icon icon, Rectangle targetRect)
    在 DevExpress.Skins.XtraForm.RibbonFormPainter.DrawIcon(GraphicsCache cache)
    在 DevExpress.XtraBars.Ribbon.Drawing.RibbonCaptionPainter.DrawObject(ObjectInfoArgs e)
    在 DevExpress.Utils.Drawing.ObjectPainter.DrawObject(GraphicsCache cache, ObjectPainter painter, ObjectInfoArgs e)
    在 DevExpress.XtraBars.Ribbon.Drawing.RibbonPainter.Draw(GraphicsCache cache, RibbonViewInfo viewInfo)
    在 DevExpress.XtraBars.Ribbon.RibbonControl.RibbonPaint(PaintEventArgs e)
    在 DevExpress.XtraBars.Ribbon.RibbonControl.OnPaint(PaintEventArgs e)
    在 System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
    在 System.Windows.Forms.Control.WmPaint(Message& m)
    在 System.Windows.Forms.Control.WndProc(Message& m)
    在 DevExpress.Utils.Controls.ControlBase.WndProc(Message& m)
    在 DevExpress.XtraBars.Ribbon.RibbonControl.WndProc(Message& m)
    在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** 已加载的程序集 **************
回复

使用道具 举报

0

精华

5097

贡献

5301

赞扬

管理员

帖子
1154
软币
21015
在线时间
4325 小时
注册时间
2013-6-7

黄马甲

发表于 2013-8-20 12:14:30 | 显示全部楼层
这些信息看不出问题所在,我猜是UI线程出了问题
回复

使用道具 举报

0

精华

8

贡献

43

赞扬

帖子
59
软币
541
在线时间
97 小时
注册时间
2013-7-17
 楼主| 发表于 2013-8-20 14:05:44 | 显示全部楼层
天堂羽叶 发表于 2013-8-20 12:14
这些信息看不出问题所在,我猜是UI线程出了问题

好像没有用到多线程啊
回复

使用道具 举报

Archiver|手机版|小黑屋|开发者网 ( 苏ICP备08004430号-2 )
版权所有:南京韵文教育信息咨询有限公司

GMT+8, 2024-5-2 10:34

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表