4 writes to _contextMenu
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (4)
471_contextMenu = null; 690_contextMenu = null; 1265_contextMenu = ToolStripDesignerUtils.GetNewItemDropDown( 1372_contextMenu = ToolStripDesignerUtils.GetNewItemDropDown(
21 references to _contextMenu
System.Windows.Forms.Design (21)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (21)
460ToolStripDropDown oldContextMenu = _contextMenu; 685if (_contextMenu is not null) 687_contextMenu.Closed -= OnContextMenuClosed; 688_contextMenu.Closing -= OnContextMenuClosing; 689_contextMenu.Opened -= OnContextMenuOpened; 1248ToolStripDesignerUtils.GetCustomNewItemDropDown(_contextMenu, _component, null, new EventHandler(AddNewItemClick), false, _component.Site); 1262if (_contextMenu is null) 1273_contextMenu.Closed += OnContextMenuClosed; 1274_contextMenu.Closing += OnContextMenuClosing; 1275_contextMenu.Opened += OnContextMenuOpened; 1276_contextMenu.Text = "ItemSelectionMenu"; 1282_contextMenu, 1292_contextMenu.RightToLeft = strip.RightToLeft; 1298_contextMenu.RightToLeft = stripItem.RightToLeft; 1302_contextMenu.Show(translatedBounds.X, translatedBounds.Y + translatedBounds.Height); 1303_contextMenu.Focus(); 1380_contextMenu.Text = "ItemSelectionMenu"; 1381_contextMenu.Closed += OnContextMenuClosed; 1382_contextMenu.Closing += OnContextMenuClosing; 1383_contextMenu.Opened += OnContextMenuOpened; 1384_addItemButton.DropDown = _contextMenu;