2 instantiations of ItemTypeToolStripMenuItem
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ToolStripDesignerUtils.cs (2)
325
ItemTypeToolStripMenuItem item =
new
(standardTypes[i])
349
ItemTypeToolStripMenuItem item =
new
(customTypes[i])
15 references to ItemTypeToolStripMenuItem
System.Windows.Forms.Design (15)
System\Windows\Forms\Design\NewItemsContextMenuStrip.cs (2)
46
if (item is
ItemTypeToolStripMenuItem
toolItem && _currentItem is not null && toolItem.ItemType == _currentItem.GetType())
58
if (item is
ItemTypeToolStripMenuItem
toolItem && _currentItem is not null && toolItem.ItemType == _currentItem.GetType())
System\Windows\Forms\Design\TemplateNodeCustomMenuItemCollection.cs (2)
48
ItemTypeToolStripMenuItem
senderItem = (
ItemTypeToolStripMenuItem
)sender;
System\Windows\Forms\Design\ToolStripDesignerUtils.cs (4)
325
ItemTypeToolStripMenuItem
item = new(standardTypes[i])
349
ItemTypeToolStripMenuItem
item = new(customTypes[i])
378
if (item is
ItemTypeToolStripMenuItem
toolItem && currentItem is not null && toolItem.ItemType == currentItem.GetType())
411
if (item is
ItemTypeToolStripMenuItem
toolItem && currentItem is not null && toolItem.ItemType == currentItem.GetType())
System\Windows\Forms\Design\ToolStripItemCustomMenuItemCollection.cs (2)
285
ItemTypeToolStripMenuItem
senderItem = (
ItemTypeToolStripMenuItem
)sender;
System\Windows\Forms\Design\ToolStripTemplateNode.cs (5)
80
private
ItemTypeToolStripMenuItem
_lastSelection;
425
ItemTypeToolStripMenuItem
senderItem = (
ItemTypeToolStripMenuItem
)sender;
1441
ItemTypeToolStripMenuItem
firstItem = (
ItemTypeToolStripMenuItem
)_addItemButton.DropDownItems[0];