Weird DataGridView Adding Data Error
I'm having a weird problem while using a DataGridView.
I'm using a DataGridView to display some information in an list of something called a Flag. Most of the information are String, one column per Data Property.
In my program, I've got a button I press to add an element to this list. So it adds a new flag and refreshes the DataGrid and the new Flag appears.
Now, here's the problem. If a Flag is added to the list before the DataGrid is first shown, it works fine. BUT, if the list is empty when the DataGrid is shown and I then press the button to add a new flag, I get an IndexOutOfBoundsError when I click on any cell in the DataGrid.
It's the most bizarre thing; if I start with a flag in the list before showing the Grid, I can add 100 Flags and they all work fine. But if there's no initial flag, I get that IndexOutOfBounds error (says no value at index -1).
What's weirder, I've got a Handler added to Grid.CellContentClick, but the error occurs before it ever gets to the Handler (the error also occurs when no Handler is added).
Does anyone have any ideas what could be causing this?

