6 writes to _addingItem
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\ToolStripDesigner.cs (6)
514
_addingItem
= true;
555
_addingItem
= false;
570
_addingItem
= true;
716
_addingItem
= false;
897
_addingItem
= false;
995
_addingItem
= true;
2 references to _addingItem
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ToolStripDesigner.cs (2)
895
if (e.Component is ToolStripItem newItem &&
_addingItem
&& !newItem.IsOnDropDown)
993
if (_insertMenuItemTransaction is null && s_autoAddNewItems && addingItem is not null && !
_addingItem
&& IsToolStripOrItemSelected && !EditingCollection)