|
Ok ... in testing to see which layout class caused this, I hit another exception. I started with the Tree class. I tried layout with rounded arrows and straight arrows, with centered, cascading and radial TreeLayoutTypes, and with various Directions. All worked OK. Then I did a number of UNDO operations until the end of the UNDO history. Again all worked OK. Then I tried a REDO, and immediately the following exception was thrown (just how stable IS this code???):
Message: Specified argument was out of the range of valid values. Parameter name: Index was out of range. Must be non-negative and less than the size of the collection. Type: ArgumentOutOfRangeException Source: mscorlib
Stack: at System.Collections.CollectionBase.System.Collections.IList.get_Item(Int32 index) at MindFusion.FlowChartX.PointCollection.get_Item(Int32 index) at MindFusion.FlowChartX.Arrow.x3ebbf318c184de3b() at MindFusion.FlowChartX.Arrow.x06e06df617d17cf1(Graphics x4b101060f4767186, Pen x9c79b5ad7b769b12, Brush xe7ebe10fa44d8d49, Pen xfe39089439ac4f68, Boolean x2f9dabff87b2168b, Boolean x86c500fe5a9b7707) at MindFusion.FlowChartX.Arrow.Draw(Graphics g, Boolean shadow) at MindFusion.FlowChartX.FlowChart.x15edd106dba2f3b0(Graphics x4b101060f4767186, RectangleF xa6236fc5cd405c4e, Boolean x979174172ae18db3) at MindFusion.FlowChartX.FlowChart.x525e7084c19f09ac(Bitmap xcb82cf45bd90fc15, Rectangle xd1cff1e8f8666dbe, Boolean x979174172ae18db3, Boolean x650cceda2a9df79e) at MindFusion.FlowChartX.FlowChart.x525e7084c19f09ac(Bitmap xcb82cf45bd90fc15, Rectangle xd1cff1e8f8666dbe, Boolean x979174172ae18db3) at MindFusion.FlowChartX.FlowChart.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.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) at System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods+I MsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.Run(Form mainForm)
|