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