求助.出现overflow 错误,点continue Button没画出来,代替的是一个红色X
响应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)