Desc: When draw Polygon, only click left mouse with no move, will occur error. error information as bellow:
System.ArgumentException: 参数无效。
在 System.Drawing.Drawing2D.GraphicsPath.AddPolygon(PointF[] points)
在 SoftwareIdeasModeler.Visualisation.DiagramDrawer.DrawPolygonShadow(ConcreteDiagramItem item, ItemStyle style, PointF[] outline, RectangleF bounds)
在 SoftwareIdeasModeler.Core.DiagramItems.Drawing.PolygonItem.DrawElement(DiagramDrawer drawer, DrawingParameters param)
在 SoftwareIdeasModeler.Core.Projecting.ConcreteDiagramItem.Draw(DiagramDrawer drawer, DrawingParameters param)
在 SoftwareIdeasModeler.Visualisation.DiagramDrawer.Draw(DiagramLayer layer, ConcreteDiagramItem item)
在 SoftwareIdeasModeler.Visualisation.DiagramDrawer.Draw(DiagramLayer layer, Rectangle clipArea)
在 SoftwareIdeasModeler.Visualisation.DiagramDrawer.Draw(Diagram diagram, Rectangle drawBounds)
在 SoftwareIdeasModeler.SimDiagramControl.SimDiagramControl_Paint(Object sender, PaintEventArgs e)
在 System.Windows.Forms.Control.OnPaint(PaintEventArgs e)
在 System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
在 System.Windows.Forms.Control.WmPaint(Message& m)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 System.Windows.Forms.ScrollableControl.WndProc(Message& m)
在 System.Windows.Forms.ContainerControl.WndProc(Message& m)
在 System.Windows.Forms.UserControl.WndProc(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Reply To: Draw Polygon occur error
Desc: When draw Polygon, only click left mouse with no move, will occur error. error information as bellow:
System.ArgumentException: 参数无效。
在 System.Drawing.Drawing2D.GraphicsPath.AddPolygon(PointF[] points)
在 SoftwareIdeasModeler.Visualisation.DiagramDrawer.DrawPolygonShadow(ConcreteDiagramItem item, ItemStyle style, PointF[] outline, RectangleF bounds)
在 SoftwareIdeasModeler.Core.DiagramItems.Drawing.PolygonItem.DrawElement(DiagramDrawer drawer, DrawingParameters param)
在 SoftwareIdeasModeler.Core.Projecting.ConcreteDiagramItem.Draw(DiagramDrawer drawer, DrawingParameters param)
在 SoftwareIdeasModeler.Visualisation.DiagramDrawer.Draw(DiagramLayer layer, ConcreteDiagramItem item)
在 SoftwareIdeasModeler.Visualisation.DiagramDrawer.Draw(DiagramLayer layer, Rectangle clipArea)
在 SoftwareIdeasModeler.Visualisation.DiagramDrawer.Draw(Diagram diagram, Rectangle drawBounds)
在 SoftwareIdeasModeler.SimDiagramControl.SimDiagramControl_Paint(Object sender, PaintEventArgs e)
在 System.Windows.Forms.Control.OnPaint(PaintEventArgs e)
在 System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
在 System.Windows.Forms.Control.WmPaint(Message& m)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 System.Windows.Forms.ScrollableControl.WndProc(Message& m)
在 System.Windows.Forms.ContainerControl.WndProc(Message& m)
在 System.Windows.Forms.UserControl.WndProc(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
error 5 July 2011 23:09:10