4 writes to CurrentItem
System.Windows.Forms (4)
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (4)
1328
CurrentItem
= item;
1330
CurrentItem
= item;
1353
CurrentItem
= toItem;
1380
CurrentItem
= null;
14 references to CurrentItem
System.Windows.Forms (14)
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (14)
1325
if (item !=
CurrentItem
) {
1326
Cancel(
CurrentItem
);
1373
if (item ==
CurrentItem
) {
1389
bool rollup = forceClose || (
CurrentItem
!= null &&
CurrentItem
!= lastSelected &&
CurrentItem
.Selected);
1403
if (
CurrentItem
!= null) {
1404
CurrentItem
.Select();
1425
if (
CurrentItem
== null) {
1429
if (
CurrentItem
!= null && !
CurrentItem
.IsDisposed &&
CurrentItem
.Selected &&
CurrentItem
.Enabled && ToolStripManager.ModalMenuFilter.InMenuMode) {
1431
CurrentItem
.OnMenuAutoExpand();