4 writes to _contextMenu
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (4)
474_contextMenu = null; 693_contextMenu = null; 1271_contextMenu = ToolStripDesignerUtils.GetNewItemDropDown( 1378_contextMenu = ToolStripDesignerUtils.GetNewItemDropDown(
21 references to _contextMenu
System.Windows.Forms.Design (21)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (21)
463ToolStripDropDown oldContextMenu = _contextMenu; 688if (_contextMenu is not null) 690_contextMenu.Closed -= OnContextMenuClosed; 691_contextMenu.Closing -= OnContextMenuClosing; 692_contextMenu.Opened -= OnContextMenuOpened; 1254ToolStripDesignerUtils.GetCustomNewItemDropDown(_contextMenu, _component, null, new EventHandler(AddNewItemClick), false, _component.Site); 1268if (_contextMenu is null) 1279_contextMenu.Closed += OnContextMenuClosed; 1280_contextMenu.Closing += OnContextMenuClosing; 1281_contextMenu.Opened += OnContextMenuOpened; 1282_contextMenu.Text = "ItemSelectionMenu"; 1288_contextMenu, 1298_contextMenu.RightToLeft = strip.RightToLeft; 1304_contextMenu.RightToLeft = stripItem.RightToLeft; 1308_contextMenu.Show(translatedBounds.X, translatedBounds.Y + translatedBounds.Height); 1309_contextMenu.Focus(); 1386_contextMenu.Text = "ItemSelectionMenu"; 1387_contextMenu.Closed += OnContextMenuClosed; 1388_contextMenu.Closing += OnContextMenuClosing; 1389_contextMenu.Opened += OnContextMenuOpened; 1390_addItemButton.DropDown = _contextMenu;