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