24 writes to CurrentRow
System.Windows.Forms (24)
winforms\Managed\System\WinForms\DataGrid.cs (24)
7713
CurrentRow
= 0;
7728
CurrentRow
= 0;
7747
CurrentRow
--;
7755
CurrentRow
--;
7774
CurrentRow
= CurrentRow - 1;
7789
CurrentRow
= Math.Max(0, DataGridRowsLength - (policy.AllowAdd ? 2:1));
7806
CurrentRow
= Math.Max(0, DataGridRowsLength - (policy.AllowAdd ? 2 : 1));
7829
CurrentRow
++;
7837
CurrentRow
++;
7858
CurrentRow
= CurrentRow + 1;
7908
CurrentRow
= Math.Min(DataGridRowsLength - (policy.AllowAdd ? 2:1), currentRow + numTotallyVisibleRows);
7929
CurrentRow
= Math.Min(DataGridRowsLength - (policy.AllowAdd ? 2:1),
7942
CurrentRow
= Math.Max(0, CurrentRow - numTotallyVisibleRows);
7964
CurrentRow
= Math.Max(0,
7987
CurrentRow
= CurrentRow - 1;
7999
CurrentRow
= CurrentRow - 1;
8019
CurrentRow
= CurrentRow + 1;
8030
CurrentRow
++;
8057
CurrentRow
= 0;
8111
CurrentRow
= Math.Max(0, DataGridRowsLength - (policy.AllowAdd ? 2:1));
8153
CurrentRow
= currentRow + 1;
8393
CurrentRow
--;
8444
CurrentRow
= CurrentRow + 1;
8460
CurrentRow
--;
16 references to CurrentRow
System.Windows.Forms (16)
winforms\Managed\System\WinForms\DataGrid.cs (16)
7028
if (source.RowNumber !=
CurrentRow
)
7774
CurrentRow =
CurrentRow
- 1;
7858
CurrentRow =
CurrentRow
+ 1;
7930
CurrentRow
+ numTotallyVisibleRows);
7942
CurrentRow = Math.Max(0,
CurrentRow
- numTotallyVisibleRows);
7965
CurrentRow
- numTotallyVisibleRows);
7987
CurrentRow =
CurrentRow
- 1;
7999
CurrentRow =
CurrentRow
- 1;
8019
CurrentRow =
CurrentRow
+ 1;
8347
if (localRows[
CurrentRow
].ProcessTabKey(keyData, layout.RowHeaders, isRightToLeft()))
8389
if (
CurrentRow
!= 0 && (keyData & Keys.Shift) == Keys.Shift)
8391
if (localRows[
CurrentRow
- 1].ProcessTabKey(keyData, layout.RowHeaders, isRightToLeft()))
8405
if (localRows[
CurrentRow
].ProcessTabKey(keyData, layout.RowHeaders, isRightToLeft())) {
8442
if (
CurrentRow
!= DataGridRowsLength - 1)
8444
CurrentRow =
CurrentRow
+ 1;
8455
if (
CurrentRow
!= 0)