4 writes to CurrentItem
System.Windows.Forms (4)
System\Windows\Forms\Controls\Menus\MenuTimer.cs (4)
52
CurrentItem
= item;
55
CurrentItem
= item;
80
CurrentItem
= toItem;
113
CurrentItem
= null;
13 references to CurrentItem
System.Windows.Forms (13)
System\Windows\Forms\Controls\Menus\MenuTimer.cs (13)
47
if (item !=
CurrentItem
)
49
Cancel(
CurrentItem
);
104
if (item ==
CurrentItem
)
125
bool rollup = forceClose || (
CurrentItem
is not null &&
CurrentItem
!= lastSelected &&
CurrentItem
.Selected);
141
CurrentItem
?.Select();
162
if (
CurrentItem
is null)
168
if (
CurrentItem
is not null && !
CurrentItem
.IsDisposed &&
CurrentItem
.Selected &&
CurrentItem
.Enabled && ToolStripManager.ModalMenuFilter.InMenuMode)
170
CurrentItem
.OnMenuAutoExpand();