1 write to _ptMouseEnteredCell
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
474
_ptMouseEnteredCell
= new Point(-2, -2);
31 references to _ptMouseEnteredCell
System.Windows.Forms (31)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
2175
internal Point MouseEnteredCellAddress =>
_ptMouseEnteredCell
;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (30)
12609
_ptMouseEnteredCell
.X = e.ColumnIndex;
12610
_ptMouseEnteredCell
.Y = e.RowIndex;
12632
_ptMouseEnteredCell
.X = -2;
12633
_ptMouseEnteredCell
.Y = -2;
16157
if (!mouseOverEditingPanel && !mouseOverEditingControl && !mouseOverToolTipControl &&
_ptMouseEnteredCell
.X != -2)
16159
if (
_ptMouseEnteredCell
.X >= -1 &&
_ptMouseEnteredCell
.X < Columns.Count
16160
&&
_ptMouseEnteredCell
.Y >= -1 &&
_ptMouseEnteredCell
.Y < Rows.Count)
16162
OnCellMouseLeave(new(
_ptMouseEnteredCell
.X,
_ptMouseEnteredCell
.Y));
16166
_ptMouseEnteredCell
.X =
_ptMouseEnteredCell
.Y = -2;
29161
if (
_ptMouseEnteredCell
.X != htiToUse._col ||
_ptMouseEnteredCell
.Y != htiToUse._row)
29164
if (
_ptMouseEnteredCell
.X >= -1
29165
&&
_ptMouseEnteredCell
.X < Columns.Count
29166
&&
_ptMouseEnteredCell
.Y >= -1
29167
&&
_ptMouseEnteredCell
.Y < Rows.Count)
29169
dgvce = new DataGridViewCellEventArgs(
_ptMouseEnteredCell
.X,
_ptMouseEnteredCell
.Y);
29189
else if (
_ptMouseEnteredCell
.X != -2)
29191
if (
_ptMouseEnteredCell
.X >= -1
29192
&&
_ptMouseEnteredCell
.X < Columns.Count
29193
&&
_ptMouseEnteredCell
.Y >= -1
29194
&&
_ptMouseEnteredCell
.Y < Rows.Count)
29196
DataGridViewCellEventArgs dgvce = new(
_ptMouseEnteredCell
.X,
_ptMouseEnteredCell
.Y);
29201
_ptMouseEnteredCell
.X =
_ptMouseEnteredCell
.Y = -2;