3 writes to lastMouseActiveItem
System.Windows.Forms (3)
winforms\Managed\System\WinForms\ToolStrip.cs (3)
2646
lastMouseActiveItem
= null;
3407
lastMouseActiveItem
= null;
3539
lastMouseActiveItem
= (item is ToolStripControlHost) ? null : item;
16 references to lastMouseActiveItem
System.Windows.Forms (16)
winforms\Managed\System\WinForms\ToolStrip.cs (16)
2636
if (
lastMouseActiveItem
!= null) {
2638
MouseHoverTimer.Cancel(
lastMouseActiveItem
);
2641
Debug.WriteLineIf(ToolStripItem.MouseDebugging.TraceVerbose, "firing mouse leave on " +
lastMouseActiveItem
.ToString());
2642
lastMouseActiveItem
.FireEvent(EventArgs.Empty,ToolStripItemEventType.MouseLeave);
3406
if (e.Item ==
lastMouseActiveItem
) {
3532
if (item !=
lastMouseActiveItem
) {
3533
Debug.WriteLineIf(ToolStripItem.MouseDebugging.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "This is a new item - last item to get was {0}", (
lastMouseActiveItem
== null) ? "null" :
lastMouseActiveItem
.ToString()));
3541
if (
lastMouseActiveItem
!= null) {
3542
Debug.WriteLineIf(ToolStripItem.MouseDebugging.TraceVerbose, String.Format(CultureInfo.CurrentCulture, "Firing MouseEnter on: {0}", (
lastMouseActiveItem
== null) ? "null" :
lastMouseActiveItem
.ToString()));
3548
MouseHoverTimer.Start(
lastMouseActiveItem
);
4030
if (
lastMouseActiveItem
!= null) {
4031
bounds =
lastMouseActiveItem
.Bounds;
4033
if (bounds.IntersectsWith(comparisonRect) &&
lastMouseActiveItem
.ParentInternal == this) {
4034
return this.
lastMouseActiveItem
;