4 writes to _contextMenu
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (4)
474_contextMenu = null; 696_contextMenu = null; 1274_contextMenu = ToolStripDesignerUtils.GetNewItemDropDown( 1381_contextMenu = ToolStripDesignerUtils.GetNewItemDropDown(
21 references to _contextMenu
System.Windows.Forms.Design (21)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (21)
463ToolStripDropDown oldContextMenu = _contextMenu; 691if (_contextMenu is not null) 693_contextMenu.Closed -= OnContextMenuClosed; 694_contextMenu.Closing -= OnContextMenuClosing; 695_contextMenu.Opened -= OnContextMenuOpened; 1257ToolStripDesignerUtils.GetCustomNewItemDropDown(_contextMenu, _component, null, new EventHandler(AddNewItemClick), false, _component.Site); 1271if (_contextMenu is null) 1282_contextMenu.Closed += OnContextMenuClosed; 1283_contextMenu.Closing += OnContextMenuClosing; 1284_contextMenu.Opened += OnContextMenuOpened; 1285_contextMenu.Text = "ItemSelectionMenu"; 1291_contextMenu, 1301_contextMenu.RightToLeft = strip.RightToLeft; 1307_contextMenu.RightToLeft = stripItem.RightToLeft; 1311_contextMenu.Show(translatedBounds.X, translatedBounds.Y + translatedBounds.Height); 1312_contextMenu.Focus(); 1389_contextMenu.Text = "ItemSelectionMenu"; 1390_contextMenu.Closed += OnContextMenuClosed; 1391_contextMenu.Closing += OnContextMenuClosing; 1392_contextMenu.Opened += OnContextMenuOpened; 1393_addItemButton.DropDown = _contextMenu;