Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Why does the diagramView display X (Read 2122 times)
Gu Wenwei
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 49
Joined: May 2nd, 2017
Why does the diagramView display X
Mar 9th, 2020 at 12:08pm
Print Post  
Why does the diagramView display X
  

cross.png ( 7 KB | 141 Downloads )
cross.png
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3146
Joined: Oct 19th, 2005
Re: Why does the diagramView display X
Reply #1 - Mar 9th, 2020 at 1:32pm
Print Post  
Windows Forms shows that if drawing code throws an exception. Try using Visual Studio's 'stop when exception thrown' option to see exact stack trace.
  
Back to top
 
IP Logged
 
Gu Wenwei
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 49
Joined: May 2nd, 2017
Re: Why does the diagramView display X
Reply #2 - Mar 10th, 2020 at 9:29am
Print Post  
Where is the drawing code?
such as demo file "FlowCharter"
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3146
Joined: Oct 19th, 2005
Re: Why does the diagramView display X
Reply #3 - Mar 10th, 2020 at 9:37am
Print Post  
It might be control's standard drawing code, or might be custom-drawing code in DrawNode event handlers /  Draw overrides in derived node classes. From the Ctrl+Alt+E dialog, set the checkbox for 'when thrown' option for CLR exceptions and it should show the exact problem.

GDI+ itself throws out-of-memory exceptions sometimes when drawing arcs with a dashed line - if you find that's the problem, enable the DiagramView.CatchGdiPlusExceptions property and the control with catch and ignore the exceptions.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint