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)
748
glyphs.
Add
(new LockedHandleGlyph(translatedBounds, primarySelection));
751
glyphs.
Add
(new LockedBorderGlyph(translatedBounds, SelectionBorderGlyphType.Top));
752
glyphs.
Add
(new LockedBorderGlyph(translatedBounds, SelectionBorderGlyphType.Bottom));
753
glyphs.
Add
(new LockedBorderGlyph(translatedBounds, SelectionBorderGlyphType.Left));
754
glyphs.
Add
(new LockedBorderGlyph(translatedBounds, SelectionBorderGlyphType.Right));
759
glyphs.
Add
(new NoResizeHandleGlyph(translatedBounds, rules, primarySelection, MoveBehavior));
762
glyphs.
Add
(new NoResizeSelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Top, MoveBehavior));
763
glyphs.
Add
(new NoResizeSelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Bottom, MoveBehavior));
764
glyphs.
Add
(new NoResizeSelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Left, MoveBehavior));
765
glyphs.
Add
(new NoResizeSelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Right, MoveBehavior));
783
glyphs.
Add
(new GrabHandleGlyph(translatedBounds, GrabHandleGlyphType.MiddleTop, StandardBehavior, primarySelection));
786
glyphs.
Add
(new GrabHandleGlyph(translatedBounds, GrabHandleGlyphType.UpperLeft, StandardBehavior, primarySelection));
791
glyphs.
Add
(new GrabHandleGlyph(translatedBounds, GrabHandleGlyphType.UpperRight, StandardBehavior, primarySelection));
797
glyphs.
Add
(new GrabHandleGlyph(translatedBounds, GrabHandleGlyphType.MiddleBottom, StandardBehavior, primarySelection));
800
glyphs.
Add
(new GrabHandleGlyph(translatedBounds, GrabHandleGlyphType.LowerLeft, StandardBehavior, primarySelection));
805
glyphs.
Add
(new GrabHandleGlyph(translatedBounds, GrabHandleGlyphType.LowerRight, StandardBehavior, primarySelection));
811
glyphs.
Add
(new GrabHandleGlyph(translatedBounds, GrabHandleGlyphType.MiddleLeft, StandardBehavior, primarySelection));
816
glyphs.
Add
(new GrabHandleGlyph(translatedBounds, GrabHandleGlyphType.MiddleRight, StandardBehavior, primarySelection));
820
glyphs.
Add
(new SelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Top, StandardBehavior));
821
glyphs.
Add
(new SelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Bottom, StandardBehavior));
822
glyphs.
Add
(new SelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Left, StandardBehavior));
823
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)
499
_toolStripAdornerWindowService?.DropDownAdorner.Glyphs.
Add
(bodyGlyphForddItem);
1329
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);