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