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