9 writes to _glyphBounds
System.Windows.Forms.Design (9)
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionGlyph.cs (9)
65_glyphBounds = Rectangle.Empty; 108_glyphBounds = new Rectangle(bounds.X + x, bounds.Y + bounds.Height, _imageWidth, _imageHeight); 117_glyphBounds = new Rectangle(bounds.X + x, bounds.Y - _imageHeight, _imageWidth, _imageHeight); 126_glyphBounds = new Rectangle(bounds.X + bounds.Width, bounds.Y + y, _imageHeight, _imageWidth); 135_glyphBounds = new Rectangle(bounds.X - _imageHeight, bounds.Y + y, _imageHeight, _imageWidth); 157_glyphBounds = new Rectangle(bounds.X + x, bounds.Y + bounds.Height, _imageWidth, _imageHeight); 166_glyphBounds = new Rectangle(bounds.X + x, bounds.Y - _imageHeight, _imageWidth, _imageHeight); 175_glyphBounds = new Rectangle(bounds.X + bounds.Width, bounds.Y + y, _imageHeight, _imageWidth); 184_glyphBounds = new Rectangle(bounds.X - _imageHeight, bounds.Y + y, _imageHeight, _imageWidth);
8 references to _glyphBounds
System.Windows.Forms.Design (8)
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionGlyph.cs (8)
196public override Rectangle Bounds => _glyphBounds; 210return _glyphBounds != Rectangle.Empty && baseParentBounds.Contains(_glyphBounds) && _glyphBounds.Contains(p) ? Cursors.Hand : null; 224if (_relatedPanel!.Visible && _image is not null && _glyphBounds != Rectangle.Empty && baseParentBounds.Contains(_glyphBounds)) 226pe.Graphics.DrawImage(_image, _glyphBounds.Left, _glyphBounds.Top);