求助.出现overflow 错误,点continue Button没画出来,代替的是一个红色X

eafish 2005-12-06 08:47:04
响应Button Clik的处理要4s时间
处理完之后点击界面的任一处就会出现错误.
小于1s的不会出错.

错误信息如下:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.OverflowException: Overflow error.
at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
at System.Drawing.Graphics.DrawString(String s, Font font, Brush brush, RectangleF layoutRectangle, StringFormat format)
at System.Windows.Forms.ButtonBase.DrawText(Graphics g, Rectangle r, Color c, ColorData colors, Boolean disabledText3D)
at System.Windows.Forms.ButtonBase.PaintField(PaintEventArgs e, LayoutData layout, ColorData colors, Color foreColor, Boolean drawFocus)
at System.Windows.Forms.ButtonBase.PaintWorker(PaintEventArgs e, Boolean up, CheckState state)
at System.Windows.Forms.ButtonBase.PaintUp(PaintEventArgs e, CheckState state)
at System.Windows.Forms.ButtonBase.PaintStandard(PaintEventArgs pevent)
at System.Windows.Forms.ButtonBase.PaintControl(PaintEventArgs pevent)
at System.Windows.Forms.ButtonBase.OnPaint(PaintEventArgs pevent)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
...全文
170 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
oyljerry 2005-12-11
  • 打赏
  • 举报
回复
堆栈溢出了
eafish 2005-12-10
  • 打赏
  • 举报
回复
up up
美福种田伯 2005-12-07
  • 打赏
  • 举报
回复
eafish 2005-12-07
  • 打赏
  • 举报
回复
up up

7,540

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 VC.NET
社区管理员
  • VC.NET社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧