2 writes to BodyGlyphAdorner
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\Behavior\SelectionManager.cs (2)
64BodyGlyphAdorner = new Adorner(); 223BodyGlyphAdorner = null!;
26 references to BodyGlyphAdorner
System.Windows.Forms.Design (26)
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (1)
899bodyGlyphAdorner = selMgr.BodyGlyphAdorner;
System\Windows\Forms\Design\Behavior\SelectionManager.cs (8)
65behaviorService.Adorners.Add(BodyGlyphAdorner); 145BodyGlyphAdorner.Glyphs.Add(bodyGlyph); 207_behaviorService.Adorners.Remove(BodyGlyphAdorner); 220if (BodyGlyphAdorner is not null) 222BodyGlyphAdorner.Glyphs.Clear(); 259foreach (ControlBodyGlyph g in BodyGlyphAdorner.Glyphs) 269BodyGlyphAdorner.Glyphs.Remove(g); 410BodyGlyphAdorner.Glyphs.Clear();
System\Windows\Forms\Design\Behavior\ToolboxItemSnapLineBehavior.cs (1)
271Adorner bodyAdorner = _serviceProvider.GetRequiredService<SelectionManager>().BodyGlyphAdorner;
System\Windows\Forms\Design\SplitContainerDesigner.cs (3)
208selMgr.BodyGlyphAdorner.Glyphs.Add(bodyGlyph); 218selMgr.BodyGlyphAdorner.Glyphs.Add(bodyGlyph); 359Adorner? bodyGlyphAdorner = selMgr?.BodyGlyphAdorner;
System\Windows\Forms\Design\ToolStripContainerDesigner.cs (3)
242selectionManager.BodyGlyphAdorner.Glyphs.Add(bodyGlyph); 470if (!CheckAssociatedControl(component, childGlyph, selectionManager.BodyGlyphAdorner.Glyphs)) 472selectionManager.BodyGlyphAdorner.Glyphs.Insert(0, childGlyph);
System\Windows\Forms\Design\ToolStripDesigner.cs (5)
633GetService<SelectionManager>().BodyGlyphAdorner.Glyphs.Insert(0, bodyGlyphForItem); 1312selectionManager.BodyGlyphAdorner.Glyphs.Add(bodyGlyphForItem); 2197Glyph[] currentBodyGlyphs = new Glyph[selectionManager.BodyGlyphAdorner.Glyphs.Count]; 2198selectionManager.BodyGlyphAdorner.Glyphs.CopyTo(currentBodyGlyphs, 0); 2205selectionManager.BodyGlyphAdorner.Glyphs.Remove(g);
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (4)
316if (selectionManager.BodyGlyphAdorner.Glyphs.Contains(_dummyToolStripGlyph)) 318selectionManager.BodyGlyphAdorner.Glyphs.Remove(_dummyToolStripGlyph); 535selectionManager.BodyGlyphAdorner.Glyphs.Insert(0, _dummyToolStripGlyph); 694GetService<SelectionManager>()?.BodyGlyphAdorner.Glyphs.Insert(0, _dummyToolStripGlyph);
System\Windows\Forms\Design\ToolStripItemDesigner.cs (1)
1260selectionManager.BodyGlyphAdorner.Glyphs.Remove(_bodyGlyph);