2 writes to _toolStripAdornerWindowService
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (2)
1013
_toolStripAdornerWindowService
= null;
1518
_toolStripAdornerWindowService
= GetService<ToolStripAdornerWindowService>();
25 references to _toolStripAdornerWindowService
System.Windows.Forms.Design (25)
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (25)
399
_toolStripAdornerWindowService
?.DropDownAdorner.Glyphs.Insert(0, bodyGlyphForddItem);
1011
if (
_toolStripAdornerWindowService
is not null)
1110
if (
_toolStripAdornerWindowService
is not null)
1113
ddi.DropDown.Parent =
_toolStripAdornerWindowService
.ToolStripAdornerWindowControl;
1136
_toolStripAdornerWindowService
?.DropDownAdorner.Glyphs.Add(_rootControlGlyph);
1146
if (
_toolStripAdornerWindowService
is not null)
1148
if (_rootControlGlyph is not null &&
_toolStripAdornerWindowService
.DropDownAdorner.Glyphs.Contains(_rootControlGlyph))
1150
_toolStripAdornerWindowService
.DropDownAdorner.Glyphs.Remove(_rootControlGlyph);
1167
_toolStripAdornerWindowService
?.Invalidate(ddi.DropDown.Bounds);
1181
if (
_toolStripAdornerWindowService
is not null && (dropDown.Width < _dropDownSizeToInvalidate.Width || dropDown.Size.Height < _dropDownSizeToInvalidate.Height))
1185
_toolStripAdornerWindowService
.Invalidate(invalidatingRegion);
1192
if (
_toolStripAdornerWindowService
is not null)
1194
if (_rootControlGlyph is not null &&
_toolStripAdornerWindowService
.DropDownAdorner.Glyphs.Contains(_rootControlGlyph))
1196
_toolStripAdornerWindowService
.DropDownAdorner.Glyphs.Remove(_rootControlGlyph);
1204
_toolStripAdornerWindowService
.DropDownAdorner.Glyphs.Add(_rootControlGlyph);
1658
ToolStripAdornerWindowService toolStripService =
_toolStripAdornerWindowService
;
1918
if (
_toolStripAdornerWindowService
is not null && _boundsToInvalidateOnRemove != Rectangle.Empty)
1922
_toolStripAdornerWindowService
.Invalidate(regionToInvalidate);
2335
_toolStripAdornerWindowService
?.Invalidate(bounds);
2382
if (glyph is not null &&
_toolStripAdornerWindowService
is not null &&
_toolStripAdornerWindowService
.DropDownAdorner.Glyphs.Contains(glyph))
2384
_toolStripAdornerWindowService
.DropDownAdorner.Glyphs.Remove(glyph);
2403
if (glyph is not null &&
_toolStripAdornerWindowService
is not null &&
_toolStripAdornerWindowService
.DropDownAdorner.Glyphs.Contains(glyph))
2405
_toolStripAdornerWindowService
.DropDownAdorner.Glyphs.Remove(glyph);