Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Big red cross at startup (Read 1518 times)
srlevitt
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 16
Joined: Mar 27th, 2007
Big red cross at startup
Apr 21st, 2010 at 11:27am
Print Post  
Good  morning,
I have an app which behaves very strangely when I run it on a PC with a small screen. When the app starts up, it creates an empty diagram and displays it. Each time, the diagram has a large red cross through it, and I get an exception about paint. If I close the diagram (not the app) then recreate the diagram, all is ok.
Your help would be appreciated.

The exception is show below:


App up time:       00:00:15.5468750
Total memory:      1015Mb
Available memory:  642Mb

Exception classes:   
   System.ArithmeticException
Exception messages:
   Overflow or underflow in the arithmetic operation.
Stack Traces:
   at MindFusion.Diagramming.Diagram.x6c2c98e8654edd63(IGraphics x41347a961b838962, RectangleF xa6236fc5cd405c4e)
   at MindFusion.Diagramming.Diagram.Draw(IGraphics graphics, RenderOptions options, RectangleF clipRect, Boolean noModifiedItems)
   at MindFusion.Diagramming.WinForms.DiagramView.x45babdc9db40342f(IGraphics x41347a961b838962, RectangleF xd1cff1e8f8666dbe, Boolean x8de543c74cdd4f6e)
   at MindFusion.Diagramming.WinForms.DiagramView.OnPaint(PaintEventArgs pe)
   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.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)
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Big red cross at startup
Reply #1 - Apr 21st, 2010 at 1:15pm
Print Post  
What are the DiagramView size and the diagram's GridSizeX and GridSizeY values when this happens?
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint