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)
2645
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)
503
glyphs.
Add
(new LockedHandleGlyph(translatedBounds, primarySelection));
506
glyphs.
Add
(new LockedBorderGlyph(translatedBounds, SelectionBorderGlyphType.Top));
507
glyphs.
Add
(new LockedBorderGlyph(translatedBounds, SelectionBorderGlyphType.Bottom));
508
glyphs.
Add
(new LockedBorderGlyph(translatedBounds, SelectionBorderGlyphType.Left));
509
glyphs.
Add
(new LockedBorderGlyph(translatedBounds, SelectionBorderGlyphType.Right));
517
glyphs.
Add
(new NoResizeHandleGlyph(translatedBounds, rules, primarySelection, null));
520
glyphs.
Add
(new NoResizeSelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Top, null));
521
glyphs.
Add
(new NoResizeSelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Bottom, null));
522
glyphs.
Add
(new NoResizeSelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Left, null));
523
glyphs.
Add
(new NoResizeSelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Right, null));
528
glyphs.
Add
(new GrabHandleGlyph(translatedBounds, GrabHandleGlyphType.MiddleRight, StandardBehavior, primarySelection));
529
glyphs.
Add
(new GrabHandleGlyph(translatedBounds, GrabHandleGlyphType.LowerRight, StandardBehavior, primarySelection));
530
glyphs.
Add
(new GrabHandleGlyph(translatedBounds, GrabHandleGlyphType.MiddleBottom, StandardBehavior, primarySelection));
531
glyphs.
Add
(new SelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Top, null));
532
glyphs.
Add
(new SelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Bottom, StandardBehavior));
533
glyphs.
Add
(new SelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Left, null));
534
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)
1117
glyphs.
Add
(g);
1143
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);
1312
selectionManager.BodyGlyphAdorner.Glyphs.
Add
(bodyGlyphForItem);
System\Windows\Forms\Design\ToolStripItemDesigner.cs (8)
577
glyphs.
Add
(new MiniLockedBorderGlyph(r, SelectionBorderGlyphType.Top, standardBehavior));
578
glyphs.
Add
(new MiniLockedBorderGlyph(r, SelectionBorderGlyphType.Bottom, standardBehavior));
579
glyphs.
Add
(new MiniLockedBorderGlyph(r, SelectionBorderGlyphType.Left, standardBehavior));
580
glyphs.
Add
(new MiniLockedBorderGlyph(r, SelectionBorderGlyphType.Right, standardBehavior));
585
glyphs.
Add
(new MiniLockedBorderGlyph(r, SelectionBorderGlyphType.Top, standardBehavior));
586
glyphs.
Add
(new MiniLockedBorderGlyph(r, SelectionBorderGlyphType.Bottom, standardBehavior));
587
glyphs.
Add
(new MiniLockedBorderGlyph(r, SelectionBorderGlyphType.Left, standardBehavior));
588
glyphs.
Add
(new MiniLockedBorderGlyph(r, SelectionBorderGlyphType.Right, standardBehavior));
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (2)
1109
_toolStripAdornerWindowService?.DropDownAdorner.Glyphs.
Add
(_rootControlGlyph);
1177
_toolStripAdornerWindowService.DropDownAdorner.Glyphs.
Add
(_rootControlGlyph);