3 writes to _dummyToolStripGlyph
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (3)
252_dummyToolStripGlyph = null; 330_dummyToolStripGlyph = null; 699_dummyToolStripGlyph = new ControlBodyGlyph(r, Cursor.Current, _menuItem, new ContextMenuStripBehavior());
8 references to _dummyToolStripGlyph
System.Windows.Forms.Design (8)
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (8)
250if (_dummyToolStripGlyph is not null) 320if (_dummyToolStripGlyph is not null && TryGetService(out SelectionManager selectionManager)) 322if (selectionManager.BodyGlyphAdorner.Glyphs.Contains(_dummyToolStripGlyph)) 324selectionManager.BodyGlyphAdorner.Glyphs.Remove(_dummyToolStripGlyph); 539if (_dummyToolStripGlyph is not null) 541selectionManager.BodyGlyphAdorner.Glyphs.Insert(0, _dummyToolStripGlyph); 694if (_dummyToolStripGlyph is null) 700GetService<SelectionManager>()?.BodyGlyphAdorner.Glyphs.Insert(0, _dummyToolStripGlyph);