7 instantiations of DataGridAddNewRow
System.Windows.Forms (7)
winforms\Managed\System\WinForms\DataGrid.cs (7)
1034localGridRows[DataGridRowsLength - 1] = new DataGridAddNewRow(this, this.myGridTable, DataGridRowsLength-1); 1370this.addNewRow = new DataGridAddNewRow(this, dgt, nDataGridRows - 1); 3962localGridRows[DataGridRowsLength - 1] = new DataGridAddNewRow(this, this.myGridTable, DataGridRowsLength-1); 6056newDataGridRows[currentRowCount] = new DataGridAddNewRow(this, this.myGridTable, currentRowCount); 6905newDataGridRows[newDataGridRowsLength - 1] = new DataGridAddNewRow(this, this.myGridTable, newDataGridRowsLength-1); 7379newDataGridRows[currentRowCount - selectedEntries] = new DataGridAddNewRow(this, this.myGridTable, currentRowCount - selectedEntries); 8494localGridRows[DataGridRowsLength-1] = new DataGridAddNewRow(this, this.myGridTable, DataGridRowsLength -1);
11 references to DataGridAddNewRow
System.Windows.Forms (11)
winforms\Managed\System\WinForms\DataGrid.cs (7)
146private DataGridAddNewRow addNewRow = null; 1057Debug.Assert(this.DataGridRows[currentRow] is DataGridAddNewRow, "the last row is the DataGridAddNewRow"); 1096if (currentRow == this.DataGridRowsLength - 1 && currentRowSaved == this.DataGridRowsLength - 2 && DataGridRows[currentRow] is DataGridAddNewRow) 4099if (!(DataGridRows[location.row] is DataGridAddNewRow)) { 6507if (bottomBorder - y - BorderWidth < 2 && !(localGridRows[ci.row] is DataGridAddNewRow)) { 6898if ((this.ReadOnly || !policy.AllowAdd) == (localGridRows[DataGridRowsLength -1] is DataGridAddNewRow)) { 7584if (localGridRows[i] is DataGridAddNewRow) {
winforms\Managed\System\WinForms\DataGridRow.cs (4)
595if (this is DataGridAddNewRow) 765if (owner is DataGridAddNewRow) { 975if (owner is DataGridAddNewRow) { 985if (!(owner is DataGridAddNewRow)) {