2 writes to mouseInContentBounds
System.Windows.Forms (2)
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (2)
582
mouseInContentBounds
= false;
608
mouseInContentBounds
= GetContentBounds(e.RowIndex).Contains(e.X, e.Y);
9 references to mouseInContentBounds
System.Windows.Forms (9)
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (9)
565
if (e.Button == MouseButtons.Left &&
mouseInContentBounds
)
580
if (
mouseInContentBounds
)
607
bool oldMouseInContentBounds =
mouseInContentBounds
;
609
if (oldMouseInContentBounds !=
mouseInContentBounds
)
621
mouseInContentBounds
&&
626
else if ((this.ButtonState & ButtonState.Pushed) != 0 && !
mouseInContentBounds
)
772
mouseInContentBounds
)
845
mouseInContentBounds
)
889
mouseInContentBounds
)