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)
11903
Debug.Assert(
_ptMouseDownCell
.X == hti._col);
11904
Debug.Assert(
_ptMouseDownCell
.Y == hti._row);
12669
&&
_ptMouseDownCell
.Y == -1
12670
&&
_ptMouseDownCell
.X >= 0
12671
&&
_ptMouseDownCell
.X < Columns.Count)
12693
BeginColumnRelocation(_ptMouseDownGridCoord.X,
_ptMouseDownCell
.X);
14533
if (
_ptMouseDownCell
.X == -2
14535
&&
_ptMouseDownCell
.X == columnIndex
14536
&&
_ptMouseDownCell
.Y == rowIndex
14537
&& (
_ptMouseDownCell
.X == -1
14538
||
_ptMouseDownCell
.Y == -1
15857
if (
_ptMouseDownCell
.X == hti._col
15858
&&
_ptMouseDownCell
.Y == hti._row
15860
||
_ptMouseDownCell
.X == -1
15861
||
_ptMouseDownCell
.Y == -1
15862
|| (
_ptMouseDownCell
.X == _ptCurrentCell.X &&
_ptMouseDownCell
.Y == _ptCurrentCell.Y)))
15946
if (
_ptMouseDownCell
.X == hti._col &&
_ptMouseDownCell
.Y == hti._row)
16089
if (
_ptMouseDownCell
.X != -2)
16092
Debug.Assert(
_ptMouseDownCell
.Y != -2);
16102
_ptMouseDownCell
.X = hti._col;
16103
_ptMouseDownCell
.Y = hti._row;
16357
&&
_ptMouseDownCell
.X == hti._col
16359
&&
_ptMouseDownCell
.Y == hti._row
25835
_ptMouseDownCell
.X = -2;
25836
_ptMouseDownCell
.Y = -2;