4 writes to _contextMenu
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (4)
504_contextMenu = null; 726_contextMenu = null; 1313_contextMenu = ToolStripDesignerUtils.GetNewItemDropDown( 1420_contextMenu = ToolStripDesignerUtils.GetNewItemDropDown(
21 references to _contextMenu
System.Windows.Forms.Design (21)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (21)
493ToolStripDropDown oldContextMenu = _contextMenu; 721if (_contextMenu is not null) 723_contextMenu.Closed -= OnContextMenuClosed; 724_contextMenu.Closing -= OnContextMenuClosing; 725_contextMenu.Opened -= OnContextMenuOpened; 1296ToolStripDesignerUtils.GetCustomNewItemDropDown(_contextMenu, _component, null, new EventHandler(AddNewItemClick), false, _component.Site); 1310if (_contextMenu is null) 1321_contextMenu.Closed += OnContextMenuClosed; 1322_contextMenu.Closing += OnContextMenuClosing; 1323_contextMenu.Opened += OnContextMenuOpened; 1324_contextMenu.Text = "ItemSelectionMenu"; 1330_contextMenu, 1340_contextMenu.RightToLeft = strip.RightToLeft; 1346_contextMenu.RightToLeft = stripItem.RightToLeft; 1350_contextMenu.Show(translatedBounds.X, translatedBounds.Y + translatedBounds.Height); 1351_contextMenu.Focus(); 1428_contextMenu.Text = "ItemSelectionMenu"; 1429_contextMenu.Closed += OnContextMenuClosed; 1430_contextMenu.Closing += OnContextMenuClosing; 1431_contextMenu.Opened += OnContextMenuOpened; 1432_addItemButton.DropDown = _contextMenu;