public __DataGridViewRow() { this.Height = 22; this.InternalCells = new __DataGridViewCellCollection { InternalRow = this }; this.Cells = (DataGridViewCellCollection)(object)this.InternalCells; this.DefaultCellStyle = new DataGridViewCellStyle(); this.InternalCells.InternalItems.ListChanged += (s, e) => { if (e.ListChangedType == global::System.ComponentModel.ListChangedType.ItemAdded) { this.InternalCells.InternalItems[e.NewIndex].InternalOwningRow = this; } }; }
public __DataGridViewRow() { this.Height = 22; this.InternalCells = new __DataGridViewCellCollection { InternalRow = this }; this.Cells = (DataGridViewCellCollection)(object)this.InternalCells; this.DefaultCellStyle = new DataGridViewCellStyle(); this.InternalCells.InternalItems.ListChanged += (s, e) => { if (e.ListChangedType == global::System.ComponentModel.ListChangedType.ItemAdded) { this.InternalCells.InternalItems[e.NewIndex].InternalOwningRow = this; } }; }