1 write to ptMouseEnteredCell
System.Windows.Forms (1)
winforms\Managed\System\WinForms\DataGridView.cs (1)
520
this.
ptMouseEnteredCell
= new Point(-2, -2);
31 references to ptMouseEnteredCell
System.Windows.Forms (31)
winforms\Managed\System\WinForms\DataGridView.cs (1)
2757
return this.
ptMouseEnteredCell
;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (30)
12928
this.
ptMouseEnteredCell
.X = e.ColumnIndex;
12929
this.
ptMouseEnteredCell
.Y = e.RowIndex;
12962
this.
ptMouseEnteredCell
.X = -2;
12963
this.
ptMouseEnteredCell
.Y = -2;
16583
if (!mouseOverEditingPanel && !mouseOverEditingControl && !mouseOverToolTipControl && this.
ptMouseEnteredCell
.X != -2)
16585
if (this.
ptMouseEnteredCell
.X >= -1 && this.
ptMouseEnteredCell
.X < this.Columns.Count &&
16586
this.
ptMouseEnteredCell
.Y >= -1 && this.
ptMouseEnteredCell
.Y < this.Rows.Count)
16588
DataGridViewCellEventArgs dgvce = new DataGridViewCellEventArgs(this.
ptMouseEnteredCell
.X, this.
ptMouseEnteredCell
.Y);
16593
this.
ptMouseEnteredCell
.X = this.
ptMouseEnteredCell
.Y = -2;
29207
if (this.
ptMouseEnteredCell
.X != htiToUse.col || this.
ptMouseEnteredCell
.Y != htiToUse.row)
29210
if (this.
ptMouseEnteredCell
.X >= -1 &&
29211
this.
ptMouseEnteredCell
.X < this.Columns.Count &&
29212
this.
ptMouseEnteredCell
.Y >= -1 &&
29213
this.
ptMouseEnteredCell
.Y < this.Rows.Count)
29215
dgvce = new DataGridViewCellEventArgs(this.
ptMouseEnteredCell
.X, this.
ptMouseEnteredCell
.Y);
29232
else if (this.
ptMouseEnteredCell
.X != -2)
29234
if (this.
ptMouseEnteredCell
.X >= -1 &&
29235
this.
ptMouseEnteredCell
.X < this.Columns.Count &&
29236
this.
ptMouseEnteredCell
.Y >= -1 &&
29237
this.
ptMouseEnteredCell
.Y < this.Rows.Count)
29239
DataGridViewCellEventArgs dgvce = new DataGridViewCellEventArgs(this.
ptMouseEnteredCell
.X, this.
ptMouseEnteredCell
.Y);
29244
this.
ptMouseEnteredCell
.X = this.
ptMouseEnteredCell
.Y = -2;