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