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); 1011if (_toolStripAdornerWindowService is not null) 1110if (_toolStripAdornerWindowService is not null) 1113ddi.DropDown.Parent = _toolStripAdornerWindowService.ToolStripAdornerWindowControl; 1136_toolStripAdornerWindowService?.DropDownAdorner.Glyphs.Add(_rootControlGlyph); 1146if (_toolStripAdornerWindowService is not null) 1148if (_rootControlGlyph is not null && _toolStripAdornerWindowService.DropDownAdorner.Glyphs.Contains(_rootControlGlyph)) 1150_toolStripAdornerWindowService.DropDownAdorner.Glyphs.Remove(_rootControlGlyph); 1167_toolStripAdornerWindowService?.Invalidate(ddi.DropDown.Bounds); 1181if (_toolStripAdornerWindowService is not null && (dropDown.Width < _dropDownSizeToInvalidate.Width || dropDown.Size.Height < _dropDownSizeToInvalidate.Height)) 1185_toolStripAdornerWindowService.Invalidate(invalidatingRegion); 1192if (_toolStripAdornerWindowService is not null) 1194if (_rootControlGlyph is not null && _toolStripAdornerWindowService.DropDownAdorner.Glyphs.Contains(_rootControlGlyph)) 1196_toolStripAdornerWindowService.DropDownAdorner.Glyphs.Remove(_rootControlGlyph); 1204_toolStripAdornerWindowService.DropDownAdorner.Glyphs.Add(_rootControlGlyph); 1658ToolStripAdornerWindowService toolStripService = _toolStripAdornerWindowService; 1918if (_toolStripAdornerWindowService is not null && _boundsToInvalidateOnRemove != Rectangle.Empty) 1922_toolStripAdornerWindowService.Invalidate(regionToInvalidate); 2335_toolStripAdornerWindowService?.Invalidate(bounds); 2382if (glyph is not null && _toolStripAdornerWindowService is not null && _toolStripAdornerWindowService.DropDownAdorner.Glyphs.Contains(glyph)) 2384_toolStripAdornerWindowService.DropDownAdorner.Glyphs.Remove(glyph); 2403if (glyph is not null && _toolStripAdornerWindowService is not null && _toolStripAdornerWindowService.DropDownAdorner.Glyphs.Contains(glyph)) 2405_toolStripAdornerWindowService.DropDownAdorner.Glyphs.Remove(glyph);