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)
493
ToolStripDropDown oldContextMenu =
_contextMenu
;
721
if (
_contextMenu
is not null)
723
_contextMenu
.Closed -= OnContextMenuClosed;
724
_contextMenu
.Closing -= OnContextMenuClosing;
725
_contextMenu
.Opened -= OnContextMenuOpened;
1296
ToolStripDesignerUtils.GetCustomNewItemDropDown(
_contextMenu
, _component, null, new EventHandler(AddNewItemClick), false, _component.Site);
1310
if (
_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
;