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;
896
_addingItem
= false;
994
_addingItem
= true;
2 references to _addingItem
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ToolStripDesigner.cs (2)
894
if (e.Component is ToolStripItem newItem &&
_addingItem
&& !newItem.IsOnDropDown)
992
if (_insertMenuItemTransaction is null && s_autoAddNewItems && addingItem is not null && !
_addingItem
&& IsToolStripOrItemSelected && !EditingCollection)