1 write to ptMouseDownCell
System.Windows.Forms (1)
winforms\Managed\System\WinForms\DataGridView.cs (1)
519
this.
ptMouseDownCell
= new Point(-2, -2);
28 references to ptMouseDownCell
System.Windows.Forms (28)
winforms\Managed\System\WinForms\DataGridView.cs (1)
3773
return this.
ptMouseDownCell
;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (27)
12285
Debug.Assert(this.
ptMouseDownCell
.X == hti.col);
12286
Debug.Assert(this.
ptMouseDownCell
.Y == hti.row);
13020
this.
ptMouseDownCell
.Y == -1 &&
13021
this.
ptMouseDownCell
.X >= 0 &&
13022
this.
ptMouseDownCell
.X < this.Columns.Count)
13044
BeginColumnRelocation(this.ptMouseDownGridCoord.X, this.
ptMouseDownCell
.X);
15006
if (this.
ptMouseDownCell
.X == -2 ||
15008
this.
ptMouseDownCell
.X == columnIndex && this.
ptMouseDownCell
.Y == rowIndex &&
15009
(this.
ptMouseDownCell
.X == -1 || this.
ptMouseDownCell
.Y == -1 ||
16326
if (this.
ptMouseDownCell
.X == hti.col &&
16327
this.
ptMouseDownCell
.Y == hti.row &&
16329
this.
ptMouseDownCell
.X == -1 ||
16330
this.
ptMouseDownCell
.Y == -1 ||
16331
(this.
ptMouseDownCell
.X == this.ptCurrentCell.X &&
16332
this.
ptMouseDownCell
.Y == this.ptCurrentCell.Y)))
16412
if (this.
ptMouseDownCell
.X == hti.col && this.
ptMouseDownCell
.Y == hti.row)
16527
if (this.
ptMouseDownCell
.X != -2)
16530
Debug.Assert(this.
ptMouseDownCell
.Y != -2);
16540
this.
ptMouseDownCell
.X = hti.col;
16541
this.
ptMouseDownCell
.Y = hti.row;
16814
if (hti.col >= 0 && this.
ptMouseDownCell
.X == hti.col &&
16815
hti.row >= 0 && this.
ptMouseDownCell
.Y == hti.row &&
25971
this.
ptMouseDownCell
.X = -2;
25972
this.
ptMouseDownCell
.Y = -2;