使用甘特图的 DBI Schedule 控件时,我们遇到了随机崩溃。下面是堆栈跟踪:
************** Exception Text **************
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.Collections.CollectionBase.System.Collections.IList.get_Item(Int32 index)
at Dbi.WinControl.Schedule.ScheduleCollection.get_Item(Int32 nIndex)
at Dbi.WinControl.Schedule.dbiSchedule.GuideLineBarSnap(Point ptPoint)
at Dbi.WinControl.Schedule.dbiSchedule.MoveAllTimeBar(Point ptPoint, MouseEventArgs e)
at Dbi.WinControl.Schedule.dbiSchedule.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(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)
其他人有这样的问题吗?