64 references to Add
System.Windows.Forms.Design (64)
System\Windows\Forms\Design\Behavior\GlyphCollection.cs (2)
61Add(value[i]); 72Add(value[i]);
System\Windows\Forms\Design\Behavior\SelectionManager.cs (1)
145BodyGlyphAdorner.Glyphs.Add(bodyGlyph);
System\Windows\Forms\Design\ComponentTray.cs (1)
2654glyphs.Add(g);
System\Windows\Forms\Design\ControlDesigner.cs (22)
748glyphs.Add(new LockedHandleGlyph(translatedBounds, primarySelection)); 751glyphs.Add(new LockedBorderGlyph(translatedBounds, SelectionBorderGlyphType.Top)); 752glyphs.Add(new LockedBorderGlyph(translatedBounds, SelectionBorderGlyphType.Bottom)); 753glyphs.Add(new LockedBorderGlyph(translatedBounds, SelectionBorderGlyphType.Left)); 754glyphs.Add(new LockedBorderGlyph(translatedBounds, SelectionBorderGlyphType.Right)); 759glyphs.Add(new NoResizeHandleGlyph(translatedBounds, rules, primarySelection, MoveBehavior)); 762glyphs.Add(new NoResizeSelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Top, MoveBehavior)); 763glyphs.Add(new NoResizeSelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Bottom, MoveBehavior)); 764glyphs.Add(new NoResizeSelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Left, MoveBehavior)); 765glyphs.Add(new NoResizeSelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Right, MoveBehavior)); 783glyphs.Add(new GrabHandleGlyph(translatedBounds, GrabHandleGlyphType.MiddleTop, StandardBehavior, primarySelection)); 786glyphs.Add(new GrabHandleGlyph(translatedBounds, GrabHandleGlyphType.UpperLeft, StandardBehavior, primarySelection)); 791glyphs.Add(new GrabHandleGlyph(translatedBounds, GrabHandleGlyphType.UpperRight, StandardBehavior, primarySelection)); 797glyphs.Add(new GrabHandleGlyph(translatedBounds, GrabHandleGlyphType.MiddleBottom, StandardBehavior, primarySelection)); 800glyphs.Add(new GrabHandleGlyph(translatedBounds, GrabHandleGlyphType.LowerLeft, StandardBehavior, primarySelection)); 805glyphs.Add(new GrabHandleGlyph(translatedBounds, GrabHandleGlyphType.LowerRight, StandardBehavior, primarySelection)); 811glyphs.Add(new GrabHandleGlyph(translatedBounds, GrabHandleGlyphType.MiddleLeft, StandardBehavior, primarySelection)); 816glyphs.Add(new GrabHandleGlyph(translatedBounds, GrabHandleGlyphType.MiddleRight, StandardBehavior, primarySelection)); 820glyphs.Add(new SelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Top, StandardBehavior)); 821glyphs.Add(new SelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Bottom, StandardBehavior)); 822glyphs.Add(new SelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Left, StandardBehavior)); 823glyphs.Add(new SelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Right, StandardBehavior));
System\Windows\Forms\Design\DesignerToolStripControlHost.cs (4)
56glyphs.Add(new MiniLockedBorderGlyph(r, SelectionBorderGlyphType.Top, standardBehavior)); 57glyphs.Add(new MiniLockedBorderGlyph(r, SelectionBorderGlyphType.Bottom, standardBehavior)); 58glyphs.Add(new MiniLockedBorderGlyph(r, SelectionBorderGlyphType.Left, standardBehavior)); 59glyphs.Add(new MiniLockedBorderGlyph(r, SelectionBorderGlyphType.Right, standardBehavior));
System\Windows\Forms\Design\DocumentDesigner.cs (17)
542glyphs.Add(new LockedHandleGlyph(translatedBounds, primarySelection)); 545glyphs.Add(new LockedBorderGlyph(translatedBounds, SelectionBorderGlyphType.Top)); 546glyphs.Add(new LockedBorderGlyph(translatedBounds, SelectionBorderGlyphType.Bottom)); 547glyphs.Add(new LockedBorderGlyph(translatedBounds, SelectionBorderGlyphType.Left)); 548glyphs.Add(new LockedBorderGlyph(translatedBounds, SelectionBorderGlyphType.Right)); 556glyphs.Add(new NoResizeHandleGlyph(translatedBounds, rules, primarySelection, null)); 559glyphs.Add(new NoResizeSelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Top, null)); 560glyphs.Add(new NoResizeSelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Bottom, null)); 561glyphs.Add(new NoResizeSelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Left, null)); 562glyphs.Add(new NoResizeSelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Right, null)); 567glyphs.Add(new GrabHandleGlyph(translatedBounds, GrabHandleGlyphType.MiddleRight, StandardBehavior, primarySelection)); 568glyphs.Add(new GrabHandleGlyph(translatedBounds, GrabHandleGlyphType.LowerRight, StandardBehavior, primarySelection)); 569glyphs.Add(new GrabHandleGlyph(translatedBounds, GrabHandleGlyphType.MiddleBottom, StandardBehavior, primarySelection)); 570glyphs.Add(new SelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Top, null)); 571glyphs.Add(new SelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Bottom, StandardBehavior)); 572glyphs.Add(new SelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Left, null)); 573glyphs.Add(new SelectionBorderGlyph(translatedBounds, rules, SelectionBorderGlyphType.Right, StandardBehavior));
System\Windows\Forms\Design\SplitContainerDesigner.cs (2)
208selMgr.BodyGlyphAdorner.Glyphs.Add(bodyGlyph); 218selMgr.BodyGlyphAdorner.Glyphs.Add(bodyGlyph);
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (2)
1120glyphs.Add(g); 1146glyphs.Add(g);
System\Windows\Forms\Design\ToolStripContainerDesigner.cs (1)
242selectionManager.BodyGlyphAdorner.Glyphs.Add(bodyGlyph);
System\Windows\Forms\Design\ToolStripDesigner.cs (2)
499_toolStripAdornerWindowService?.DropDownAdorner.Glyphs.Add(bodyGlyphForddItem); 1329selectionManager.BodyGlyphAdorner.Glyphs.Add(bodyGlyphForItem);
System\Windows\Forms\Design\ToolStripItemDesigner.cs (8)
589glyphs.Add(new MiniLockedBorderGlyph(r, SelectionBorderGlyphType.Top, standardBehavior)); 590glyphs.Add(new MiniLockedBorderGlyph(r, SelectionBorderGlyphType.Bottom, standardBehavior)); 591glyphs.Add(new MiniLockedBorderGlyph(r, SelectionBorderGlyphType.Left, standardBehavior)); 592glyphs.Add(new MiniLockedBorderGlyph(r, SelectionBorderGlyphType.Right, standardBehavior)); 597glyphs.Add(new MiniLockedBorderGlyph(r, SelectionBorderGlyphType.Top, standardBehavior)); 598glyphs.Add(new MiniLockedBorderGlyph(r, SelectionBorderGlyphType.Bottom, standardBehavior)); 599glyphs.Add(new MiniLockedBorderGlyph(r, SelectionBorderGlyphType.Left, standardBehavior)); 600glyphs.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);