1 write to _ptMouseDownCell
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
477
_ptMouseDownCell
= new Point(-2, -2);
28 references to _ptMouseDownCell
System.Windows.Forms (28)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
2982
internal Point MouseDownCellAddress =>
_ptMouseDownCell
;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (27)
11909
Debug.Assert(
_ptMouseDownCell
.X == hti._col);
11910
Debug.Assert(
_ptMouseDownCell
.Y == hti._row);
12679
&&
_ptMouseDownCell
.Y == -1
12680
&&
_ptMouseDownCell
.X >= 0
12681
&&
_ptMouseDownCell
.X < Columns.Count)
12703
BeginColumnRelocation(_ptMouseDownGridCoord.X,
_ptMouseDownCell
.X);
14544
if (
_ptMouseDownCell
.X == -2
14546
&&
_ptMouseDownCell
.X == columnIndex
14547
&&
_ptMouseDownCell
.Y == rowIndex
14548
&& (
_ptMouseDownCell
.X == -1
14549
||
_ptMouseDownCell
.Y == -1
15873
if (
_ptMouseDownCell
.X == hti._col
15874
&&
_ptMouseDownCell
.Y == hti._row
15876
||
_ptMouseDownCell
.X == -1
15877
||
_ptMouseDownCell
.Y == -1
15878
|| (
_ptMouseDownCell
.X == _ptCurrentCell.X &&
_ptMouseDownCell
.Y == _ptCurrentCell.Y)))
15962
if (
_ptMouseDownCell
.X == hti._col &&
_ptMouseDownCell
.Y == hti._row)
16105
if (
_ptMouseDownCell
.X != -2)
16108
Debug.Assert(
_ptMouseDownCell
.Y != -2);
16118
_ptMouseDownCell
.X = hti._col;
16119
_ptMouseDownCell
.Y = hti._row;
16373
&&
_ptMouseDownCell
.X == hti._col
16375
&&
_ptMouseDownCell
.Y == hti._row
25852
_ptMouseDownCell
.X = -2;
25853
_ptMouseDownCell
.Y = -2;