1 write to _ptMouseEnteredCell
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
478
_ptMouseEnteredCell
= new Point(-2, -2);
31 references to _ptMouseEnteredCell
System.Windows.Forms (31)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
2168
internal Point MouseEnteredCellAddress =>
_ptMouseEnteredCell
;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (30)
12612
_ptMouseEnteredCell
.X = e.ColumnIndex;
12613
_ptMouseEnteredCell
.Y = e.RowIndex;
12635
_ptMouseEnteredCell
.X = -2;
12636
_ptMouseEnteredCell
.Y = -2;
16160
if (!mouseOverEditingPanel && !mouseOverEditingControl && !mouseOverToolTipControl &&
_ptMouseEnteredCell
.X != -2)
16162
if (
_ptMouseEnteredCell
.X >= -1 &&
_ptMouseEnteredCell
.X < Columns.Count
16163
&&
_ptMouseEnteredCell
.Y >= -1 &&
_ptMouseEnteredCell
.Y < Rows.Count)
16165
OnCellMouseLeave(new(
_ptMouseEnteredCell
.X,
_ptMouseEnteredCell
.Y));
16169
_ptMouseEnteredCell
.X =
_ptMouseEnteredCell
.Y = -2;
29169
if (
_ptMouseEnteredCell
.X != htiToUse._col ||
_ptMouseEnteredCell
.Y != htiToUse._row)
29172
if (
_ptMouseEnteredCell
.X >= -1
29173
&&
_ptMouseEnteredCell
.X < Columns.Count
29174
&&
_ptMouseEnteredCell
.Y >= -1
29175
&&
_ptMouseEnteredCell
.Y < Rows.Count)
29177
dgvce = new DataGridViewCellEventArgs(
_ptMouseEnteredCell
.X,
_ptMouseEnteredCell
.Y);
29197
else if (
_ptMouseEnteredCell
.X != -2)
29199
if (
_ptMouseEnteredCell
.X >= -1
29200
&&
_ptMouseEnteredCell
.X < Columns.Count
29201
&&
_ptMouseEnteredCell
.Y >= -1
29202
&&
_ptMouseEnteredCell
.Y < Rows.Count)
29204
DataGridViewCellEventArgs dgvce = new(
_ptMouseEnteredCell
.X,
_ptMouseEnteredCell
.Y);
29209
_ptMouseEnteredCell
.X =
_ptMouseEnteredCell
.Y = -2;