1 write to _ptMouseDownCell
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
473
_ptMouseDownCell
= new Point(-2, -2);
28 references to _ptMouseDownCell
System.Windows.Forms (28)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
2989
internal Point MouseDownCellAddress =>
_ptMouseDownCell
;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (27)
11906
Debug.Assert(
_ptMouseDownCell
.X == hti._col);
11907
Debug.Assert(
_ptMouseDownCell
.Y == hti._row);
12676
&&
_ptMouseDownCell
.Y == -1
12677
&&
_ptMouseDownCell
.X >= 0
12678
&&
_ptMouseDownCell
.X < Columns.Count)
12700
BeginColumnRelocation(_ptMouseDownGridCoord.X,
_ptMouseDownCell
.X);
14541
if (
_ptMouseDownCell
.X == -2
14543
&&
_ptMouseDownCell
.X == columnIndex
14544
&&
_ptMouseDownCell
.Y == rowIndex
14545
&& (
_ptMouseDownCell
.X == -1
14546
||
_ptMouseDownCell
.Y == -1
15870
if (
_ptMouseDownCell
.X == hti._col
15871
&&
_ptMouseDownCell
.Y == hti._row
15873
||
_ptMouseDownCell
.X == -1
15874
||
_ptMouseDownCell
.Y == -1
15875
|| (
_ptMouseDownCell
.X == _ptCurrentCell.X &&
_ptMouseDownCell
.Y == _ptCurrentCell.Y)))
15959
if (
_ptMouseDownCell
.X == hti._col &&
_ptMouseDownCell
.Y == hti._row)
16102
if (
_ptMouseDownCell
.X != -2)
16105
Debug.Assert(
_ptMouseDownCell
.Y != -2);
16115
_ptMouseDownCell
.X = hti._col;
16116
_ptMouseDownCell
.Y = hti._row;
16370
&&
_ptMouseDownCell
.X == hti._col
16372
&&
_ptMouseDownCell
.Y == hti._row
25843
_ptMouseDownCell
.X = -2;
25844
_ptMouseDownCell
.Y = -2;