64 references to Add
System.Windows.Forms.Design (64)
System\Windows\Forms\Design\Behavior\GlyphCollection.cs (2)
61
Add
(value[i]);
72
Add
(value[i]);
System\Windows\Forms\Design\Behavior\SelectionManager.cs (1)
145
BodyGlyphAdorner.Glyphs.
Add
(bodyGlyph);
System\Windows\Forms\Design\ComponentTray.cs (1)
2654
glyphs.
Add
(g);
System\Windows\Forms\Design\ControlDesigner.cs (22)
763
glyphs.
Add
(new LockedHandleGlyph(translatedBounds, primarySelection));
766
glyphs.
Add
(new LockedBorderGlyph(translatedBounds, SelectionBorderGlyphType.Top));
767
glyphs.
Add
(new LockedBorderGlyph(translatedBounds, SelectionBorderGlyphType.Bottom));
768
glyphs.
Add
(new LockedBorderGlyph(translatedBounds, SelectionBorderGlyphType.Left));
769
glyphs.
Add
(new LockedBorderGlyph(translatedBounds, SelectionBorderGlyphType.Right));
774
glyphs.
Add
(new NoResizeHandleGlyph(translatedBounds, rules, primarySelection, MoveBehavior));
777
glyphs.
Add
(new NoResizeSelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Top, MoveBehavior));
778
glyphs.
Add
(new NoResizeSelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Bottom, MoveBehavior));
779
glyphs.
Add
(new NoResizeSelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Left, MoveBehavior));
780
glyphs.
Add
(new NoResizeSelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Right, MoveBehavior));
798
glyphs.
Add
(new GrabHandleGlyph(translatedBounds, GrabHandleGlyphType.MiddleTop, StandardBehavior, primarySelection));
801
glyphs.
Add
(new GrabHandleGlyph(translatedBounds, GrabHandleGlyphType.UpperLeft, StandardBehavior, primarySelection));
806
glyphs.
Add
(new GrabHandleGlyph(translatedBounds, GrabHandleGlyphType.UpperRight, StandardBehavior, primarySelection));
812
glyphs.
Add
(new GrabHandleGlyph(translatedBounds, GrabHandleGlyphType.MiddleBottom, StandardBehavior, primarySelection));
815
glyphs.
Add
(new GrabHandleGlyph(translatedBounds, GrabHandleGlyphType.LowerLeft, StandardBehavior, primarySelection));
820
glyphs.
Add
(new GrabHandleGlyph(translatedBounds, GrabHandleGlyphType.LowerRight, StandardBehavior, primarySelection));
826
glyphs.
Add
(new GrabHandleGlyph(translatedBounds, GrabHandleGlyphType.MiddleLeft, StandardBehavior, primarySelection));
831
glyphs.
Add
(new GrabHandleGlyph(translatedBounds, GrabHandleGlyphType.MiddleRight, StandardBehavior, primarySelection));
835
glyphs.
Add
(new SelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Top, StandardBehavior));
836
glyphs.
Add
(new SelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Bottom, StandardBehavior));
837
glyphs.
Add
(new SelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Left, StandardBehavior));
838
glyphs.
Add
(new SelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Right, StandardBehavior));
System\Windows\Forms\Design\DesignerToolStripControlHost.cs (4)
56
glyphs.
Add
(new MiniLockedBorderGlyph(r, SelectionBorderGlyphType.Top, standardBehavior));
57
glyphs.
Add
(new MiniLockedBorderGlyph(r, SelectionBorderGlyphType.Bottom, standardBehavior));
58
glyphs.
Add
(new MiniLockedBorderGlyph(r, SelectionBorderGlyphType.Left, standardBehavior));
59
glyphs.
Add
(new MiniLockedBorderGlyph(r, SelectionBorderGlyphType.Right, standardBehavior));
System\Windows\Forms\Design\DocumentDesigner.cs (17)
542
glyphs.
Add
(new LockedHandleGlyph(translatedBounds, primarySelection));
545
glyphs.
Add
(new LockedBorderGlyph(translatedBounds, SelectionBorderGlyphType.Top));
546
glyphs.
Add
(new LockedBorderGlyph(translatedBounds, SelectionBorderGlyphType.Bottom));
547
glyphs.
Add
(new LockedBorderGlyph(translatedBounds, SelectionBorderGlyphType.Left));
548
glyphs.
Add
(new LockedBorderGlyph(translatedBounds, SelectionBorderGlyphType.Right));
556
glyphs.
Add
(new NoResizeHandleGlyph(translatedBounds, rules, primarySelection, null));
559
glyphs.
Add
(new NoResizeSelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Top, null));
560
glyphs.
Add
(new NoResizeSelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Bottom, null));
561
glyphs.
Add
(new NoResizeSelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Left, null));
562
glyphs.
Add
(new NoResizeSelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Right, null));
567
glyphs.
Add
(new GrabHandleGlyph(translatedBounds, GrabHandleGlyphType.MiddleRight, StandardBehavior, primarySelection));
568
glyphs.
Add
(new GrabHandleGlyph(translatedBounds, GrabHandleGlyphType.LowerRight, StandardBehavior, primarySelection));
569
glyphs.
Add
(new GrabHandleGlyph(translatedBounds, GrabHandleGlyphType.MiddleBottom, StandardBehavior, primarySelection));
570
glyphs.
Add
(new SelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Top, null));
571
glyphs.
Add
(new SelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Bottom, StandardBehavior));
572
glyphs.
Add
(new SelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Left, null));
573
glyphs.
Add
(new SelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Right, StandardBehavior));
System\Windows\Forms\Design\SplitContainerDesigner.cs (2)
208
selMgr.BodyGlyphAdorner.Glyphs.
Add
(bodyGlyph);
218
selMgr.BodyGlyphAdorner.Glyphs.
Add
(bodyGlyph);
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (2)
1120
glyphs.
Add
(g);
1146
glyphs.
Add
(g);
System\Windows\Forms\Design\ToolStripContainerDesigner.cs (1)
242
selectionManager.BodyGlyphAdorner.Glyphs.
Add
(bodyGlyph);
System\Windows\Forms\Design\ToolStripDesigner.cs (2)
466
_toolStripAdornerWindowService?.DropDownAdorner.Glyphs.
Add
(bodyGlyphDropDownItem);
1342
selectionManager.BodyGlyphAdorner.Glyphs.
Add
(bodyGlyphForItem);
System\Windows\Forms\Design\ToolStripItemDesigner.cs (8)
589
glyphs.
Add
(new MiniLockedBorderGlyph(r, SelectionBorderGlyphType.Top, standardBehavior));
590
glyphs.
Add
(new MiniLockedBorderGlyph(r, SelectionBorderGlyphType.Bottom, standardBehavior));
591
glyphs.
Add
(new MiniLockedBorderGlyph(r, SelectionBorderGlyphType.Left, standardBehavior));
592
glyphs.
Add
(new MiniLockedBorderGlyph(r, SelectionBorderGlyphType.Right, standardBehavior));
597
glyphs.
Add
(new MiniLockedBorderGlyph(r, SelectionBorderGlyphType.Top, standardBehavior));
598
glyphs.
Add
(new MiniLockedBorderGlyph(r, SelectionBorderGlyphType.Bottom, standardBehavior));
599
glyphs.
Add
(new MiniLockedBorderGlyph(r, SelectionBorderGlyphType.Left, standardBehavior));
600
glyphs.
Add
(new MiniLockedBorderGlyph(r, SelectionBorderGlyphType.Right, standardBehavior));
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (2)
1136
_toolStripAdornerWindowService?.DropDownAdorner.Glyphs.
Add
(_rootControlGlyph);
1204
_toolStripAdornerWindowService.DropDownAdorner.Glyphs.
Add
(_rootControlGlyph);