* DataGridView.cs: Remove a bogus ReBind call, which was causing
recursive rebinding.
svn path=/trunk/mcs/; revision=122204
+2008-12-29 Ivan N. Zlatev <contact@i-nz.net>
+
+ * DataGridView.cs: Remove a bogus ReBind call, which was causing
+ recursive rebinding.
+
2008-12-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* DateTimePicker.cs: Handle the "MMMM" month format.
}
internal void OnColumnCollectionChanged (object sender, CollectionChangeEventArgs e) {
- ReBind ();
switch (e.Action) {
case CollectionChangeAction.Add:
OnColumnAddedInternal(new DataGridViewColumnEventArgs(e.Element as DataGridViewColumn));
OnDataBindingComplete (new DataGridViewBindingCompleteEventArgs (ListChangedType.Reset));
}
-
if (Rows.Count > 0 && Columns.Count > 0)
MoveCurrentCell (0, 0, true, false, false, false);
PerformLayout();