AnantLabs / taskleader

Automatically exported from code.google.com/p/taskleader
1 stars 0 forks source link

Exception sur Toolbox #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Scénario de reproduction du problème:

************** 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.ArrayList.get_Item(Int32 index)
   at System.Windows.Forms.DataGridViewRowCollection.SharedRow(Int32 rowIndex)
   at System.Windows.Forms.DataGridViewRowCollection.get_Item(Int32 index)
   at System.Windows.Forms.DataGridView.get_Item(Int32 columnIndex, Int32 rowIndex)
   at TaskLeader.GUI.Toolbox.grilleData_CellMouseEnter(Object sender, DataGridViewCellEventArgs e) in C:\Users\Tanguy\documents\visual studio 2010\Projects\ActionsList\TaskLeader\GUI\Toolbox.cs:line 254
   at System.Windows.Forms.DataGridView.OnCellMouseEnter(DataGridViewCellEventArgs e)
   at System.Windows.Forms.DataGridView.UpdateMouseEnteredCell(HitTestInfo hti, MouseEventArgs e)
   at System.Windows.Forms.DataGridView.OnMouseMove(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseMove(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.DataGridView.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)

Proposition de correction:

Original issue reported on code.google.com by tangu...@gmail.com on 4 May 2011 at 8:36

GoogleCodeExporter commented 9 years ago
Le problème se pose quand la souris quitte le tableau par le header de la 
colonne.

Original comment by tangu...@gmail.com on 5 May 2011 at 4:05

GoogleCodeExporter commented 9 years ago

Original comment by tangu...@gmail.com on 5 May 2011 at 8:28