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)
12605
_ptMouseEnteredCell
.X = e.ColumnIndex;
12606
_ptMouseEnteredCell
.Y = e.RowIndex;
12627
_ptMouseEnteredCell
.X = -2;
12628
_ptMouseEnteredCell
.Y = -2;
16144
if (!mouseOverEditingPanel && !mouseOverEditingControl && !mouseOverToolTipControl &&
_ptMouseEnteredCell
.X != -2)
16146
if (
_ptMouseEnteredCell
.X >= -1 &&
_ptMouseEnteredCell
.X < Columns.Count
16147
&&
_ptMouseEnteredCell
.Y >= -1 &&
_ptMouseEnteredCell
.Y < Rows.Count)
16149
OnCellMouseLeave(new(
_ptMouseEnteredCell
.X,
_ptMouseEnteredCell
.Y));
16153
_ptMouseEnteredCell
.X =
_ptMouseEnteredCell
.Y = -2;
29153
if (
_ptMouseEnteredCell
.X != htiToUse._col ||
_ptMouseEnteredCell
.Y != htiToUse._row)
29156
if (
_ptMouseEnteredCell
.X >= -1
29157
&&
_ptMouseEnteredCell
.X < Columns.Count
29158
&&
_ptMouseEnteredCell
.Y >= -1
29159
&&
_ptMouseEnteredCell
.Y < Rows.Count)
29161
dgvce = new DataGridViewCellEventArgs(
_ptMouseEnteredCell
.X,
_ptMouseEnteredCell
.Y);
29181
else if (
_ptMouseEnteredCell
.X != -2)
29183
if (
_ptMouseEnteredCell
.X >= -1
29184
&&
_ptMouseEnteredCell
.X < Columns.Count
29185
&&
_ptMouseEnteredCell
.Y >= -1
29186
&&
_ptMouseEnteredCell
.Y < Rows.Count)
29188
DataGridViewCellEventArgs dgvce = new(
_ptMouseEnteredCell
.X,
_ptMouseEnteredCell
.Y);
29193
_ptMouseEnteredCell
.X =
_ptMouseEnteredCell
.Y = -2;