26 references to ToolStripDesignerUtils
System.Windows.Forms.Design (26)
System\Windows\Forms\Design\ItemTypeToolStripMenuItem.cs (2)
36_image ??= ToolStripDesignerUtils.GetToolboxBitmap(ItemType); 47get => ToolStripDesignerUtils.GetToolboxDescription(ItemType);
System\Windows\Forms\Design\NewItemsContextMenuStrip.cs (2)
41foreach (ToolStripItem item in ToolStripDesignerUtils.GetStandardItemMenuItems(_component, _onClick, _convertTo)) 53foreach (ToolStripItem item in ToolStripDesignerUtils.GetCustomItemMenuItems(_component, _onClick, _convertTo, _serviceProvider))
System\Windows\Forms\Design\TemplateNodeCustomMenuItemCollection.cs (1)
41DropDown = ToolStripDesignerUtils.GetNewItemDropDown(ParentTool, _currentItem, new EventHandler(AddNewItemClick), false, _serviceProvider, true)
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
2057ToolStripDesignerUtils.GetAdjustedBounds(item, ref r);
System\Windows\Forms\Design\ToolStripItemBehavior.cs (2)
159ToolStripDesignerUtils.GetAdjustedBounds(item, ref bounds); 466ToolStripDesignerUtils.InvalidateSelection(origSel, glyphItem, glyphItem.Site, false);
System\Windows\Forms\Design\ToolStripItemCustomMenuItemCollection.cs (2)
195DropDown = ToolStripDesignerUtils.GetNewItemDropDown(ParentTool, _currentItem, new EventHandler(AddNewItemClick), true, _serviceProvider, true) 200DropDown = ToolStripDesignerUtils.GetNewItemDropDown(ParentTool, _currentItem, new EventHandler(AddNewItemClick), false, _serviceProvider, true)
System\Windows\Forms\Design\ToolStripItemDesigner.cs (1)
577ToolStripDesignerUtils.GetAdjustedBounds(ToolStripItem, ref r);
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (1)
2103ToolStripDesignerUtils.InvalidateSelection(origSel, targetSelection as ToolStripItem, _provider, _shiftPressed);
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (4)
1075ToolStripDesignerUtils.GetAdjustedBounds(item, ref r); 2154ArrayList origSel = ToolStripDesignerUtils.s_originalSelComps; 2157ToolStripDesignerUtils.InvalidateSelection(origSel, MenuItem, MenuItem.Site, false /*shift pressed*/); 2194ToolStripDesignerUtils.s_originalSelComps = origSel;
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (3)
469if (!ToolStripDesignerUtils.DisplayInformation.TerminalServer 470&& !ToolStripDesignerUtils.DisplayInformation.HighContrast 471&& !ToolStripDesignerUtils.DisplayInformation.LowResolution)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (7)
573ToolStripDesignerUtils.GetAdjustedBounds(selectedItem, ref bounds); 791Type[] supportedTypes = ToolStripDesignerUtils.GetStandardItemTypes(_component); 837ToolStripDesignerUtils.GetAdjustedBounds(curSel, ref invalidateBounds); 1296ToolStripDesignerUtils.GetCustomNewItemDropDown(_contextMenu, _component, null, new EventHandler(AddNewItemClick), false, _component.Site); 1313_contextMenu = ToolStripDesignerUtils.GetNewItemDropDown( 1329ToolStripDesignerUtils.GetCustomNewItemDropDown( 1420_contextMenu = ToolStripDesignerUtils.GetNewItemDropDown(