2 writes to _selectedBandSnapshotIndexes
System.Windows.Forms (2)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (2)
19941
_selectedBandSnapshotIndexes
= new DataGridViewIntLinkedList(_selectedBandIndexes);
20037
_selectedBandSnapshotIndexes
= null;
25 references to _selectedBandSnapshotIndexes
System.Windows.Forms (25)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (25)
13231
_selectedBandSnapshotIndexes
?.Clear();
15496
if (
_selectedBandSnapshotIndexes
is not null)
15498
columnEntries =
_selectedBandSnapshotIndexes
.Count;
15502
int columnIndex =
_selectedBandSnapshotIndexes
[columnEntry];
15505
_selectedBandSnapshotIndexes
[columnEntry] = columnIndex + 1;
15586
if (
_selectedBandSnapshotIndexes
is not null)
15588
rowEntries =
_selectedBandSnapshotIndexes
.Count;
15592
int rowIndex =
_selectedBandSnapshotIndexes
[rowEntry];
15595
_selectedBandSnapshotIndexes
[rowEntry] = rowIndex + insertionCount;
15646
if (
_selectedBandSnapshotIndexes
is not null)
15648
rowEntries =
_selectedBandSnapshotIndexes
.Count;
15652
int rowIndex =
_selectedBandSnapshotIndexes
[rowEntry];
15655
_selectedBandSnapshotIndexes
[rowEntry] = rowIndex + dataGridViewRows.Length;
17340
if (
_selectedBandSnapshotIndexes
is not null)
17342
rowEntries =
_selectedBandSnapshotIndexes
.Count;
17346
int rowIndex =
_selectedBandSnapshotIndexes
[rowEntry];
17349
_selectedBandSnapshotIndexes
.RemoveAt(rowEntry);
17356
_selectedBandSnapshotIndexes
[rowEntry] = rowIndex - 1;
19942
while (
_selectedBandSnapshotIndexes
.Count > remainingSelectedRows)
19944
int rowIndex =
_selectedBandSnapshotIndexes
[remainingSelectedRows];
28374
if (
_selectedBandSnapshotIndexes
is not null)
28376
row1Selected =
_selectedBandSnapshotIndexes
.IndexOf(rowIndex1);
28377
row2Selected =
_selectedBandSnapshotIndexes
.IndexOf(rowIndex2);
28380
_selectedBandSnapshotIndexes
[row1Selected] = rowIndex2;
28384
_selectedBandSnapshotIndexes
[row2Selected] = rowIndex1;