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)
250
if (
_dummyToolStripGlyph
is not null)
320
if (
_dummyToolStripGlyph
is not null && TryGetService(out SelectionManager selectionManager))
322
if (selectionManager.BodyGlyphAdorner.Glyphs.Contains(
_dummyToolStripGlyph
))
324
selectionManager.BodyGlyphAdorner.Glyphs.Remove(
_dummyToolStripGlyph
);
539
if (
_dummyToolStripGlyph
is not null)
541
selectionManager.BodyGlyphAdorner.Glyphs.Insert(0,
_dummyToolStripGlyph
);
694
if (
_dummyToolStripGlyph
is null)
700
GetService<SelectionManager>()?.BodyGlyphAdorner.Glyphs.Insert(0,
_dummyToolStripGlyph
);