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