1 write to _ptMouseDownCell
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
478
_ptMouseDownCell
= new Point(-2, -2);
28 references to _ptMouseDownCell
System.Windows.Forms (28)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
2994
internal Point MouseDownCellAddress =>
_ptMouseDownCell
;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (27)
11965
Debug.Assert(
_ptMouseDownCell
.X == hti._col);
11966
Debug.Assert(
_ptMouseDownCell
.Y == hti._row);
12735
&&
_ptMouseDownCell
.Y == -1
12736
&&
_ptMouseDownCell
.X >= 0
12737
&&
_ptMouseDownCell
.X < Columns.Count)
12759
BeginColumnRelocation(_ptMouseDownGridCoord.X,
_ptMouseDownCell
.X);
14600
if (
_ptMouseDownCell
.X == -2
14602
&&
_ptMouseDownCell
.X == columnIndex
14603
&&
_ptMouseDownCell
.Y == rowIndex
14604
&& (
_ptMouseDownCell
.X == -1
14605
||
_ptMouseDownCell
.Y == -1
15935
if (
_ptMouseDownCell
.X == hti._col
15936
&&
_ptMouseDownCell
.Y == hti._row
15938
||
_ptMouseDownCell
.X == -1
15939
||
_ptMouseDownCell
.Y == -1
15940
|| (
_ptMouseDownCell
.X == _ptCurrentCell.X &&
_ptMouseDownCell
.Y == _ptCurrentCell.Y)))
16024
if (
_ptMouseDownCell
.X == hti._col &&
_ptMouseDownCell
.Y == hti._row)
16167
if (
_ptMouseDownCell
.X != -2)
16170
Debug.Assert(
_ptMouseDownCell
.Y != -2);
16180
_ptMouseDownCell
.X = hti._col;
16181
_ptMouseDownCell
.Y = hti._row;
16435
&&
_ptMouseDownCell
.X == hti._col
16437
&&
_ptMouseDownCell
.Y == hti._row
25916
_ptMouseDownCell
.X = -2;
25917
_ptMouseDownCell
.Y = -2;