16 writes to s_autoAddNewItems
System.Windows.Forms.Design (16)
System\Windows\Forms\Design\BindingNavigatorDesigner.cs (2)
58
s_autoAddNewItems
= false; // Temporarily suppress "new items go to the selected strip" behavior
68
s_autoAddNewItems
= true;
System\Windows\Forms\Design\StandardMenuStripVerb.cs (4)
103
ToolStripDesigner.
s_autoAddNewItems
= false;
236
ToolStripDesigner.
s_autoAddNewItems
= true;
278
ToolStripDesigner.
s_autoAddNewItems
= false;
380
ToolStripDesigner.
s_autoAddNewItems
= true;
System\Windows\Forms\Design\TemplateNodeCustomMenuItemCollection.cs (2)
73
ToolStripDesigner.
s_autoAddNewItems
= false;
134
ToolStripDesigner.
s_autoAddNewItems
= true;
System\Windows\Forms\Design\ToolStripItemDesigner.cs (2)
753
ToolStripDesigner.
s_autoAddNewItems
= false;
864
ToolStripDesigner.
s_autoAddNewItems
= true;
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (6)
176
ToolStripDesigner.
s_autoAddNewItems
= false;
187
ToolStripDesigner.
s_autoAddNewItems
= true;
783
ToolStripDesigner.
s_autoAddNewItems
= false;
829
ToolStripDesigner.
s_autoAddNewItems
= true;
860
ToolStripDesigner.
s_autoAddNewItems
= false;
917
ToolStripDesigner.
s_autoAddNewItems
= true;
1 reference to s_autoAddNewItems
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
992
if (_insertMenuItemTransaction is null &&
s_autoAddNewItems
&& addingItem is not null && !_addingItem && IsToolStripOrItemSelected && !EditingCollection)