9 writes to _glyphBounds
System.Windows.Forms.Design (9)
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionGlyph.cs (9)
65
_glyphBounds
= Rectangle.Empty;
111
_glyphBounds
= new Rectangle(bounds.X + x, bounds.Y + bounds.Height, _imageWidth, _imageHeight);
120
_glyphBounds
= new Rectangle(bounds.X + x, bounds.Y - _imageHeight, _imageWidth, _imageHeight);
129
_glyphBounds
= new Rectangle(bounds.X + bounds.Width, bounds.Y + y, _imageHeight, _imageWidth);
138
_glyphBounds
= new Rectangle(bounds.X - _imageHeight, bounds.Y + y, _imageHeight, _imageWidth);
160
_glyphBounds
= new Rectangle(bounds.X + x, bounds.Y + bounds.Height, _imageWidth, _imageHeight);
169
_glyphBounds
= new Rectangle(bounds.X + x, bounds.Y - _imageHeight, _imageWidth, _imageHeight);
178
_glyphBounds
= new Rectangle(bounds.X + bounds.Width, bounds.Y + y, _imageHeight, _imageWidth);
187
_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)
199
public override Rectangle Bounds =>
_glyphBounds
;
213
return
_glyphBounds
!= Rectangle.Empty && baseParentBounds.Contains(
_glyphBounds
) &&
_glyphBounds
.Contains(p) ? Cursors.Hand : null;
227
if (_relatedPanel!.Visible && _image is not null &&
_glyphBounds
!= Rectangle.Empty && baseParentBounds.Contains(
_glyphBounds
))
229
pe.Graphics.DrawImage(_image,
_glyphBounds
.Left,
_glyphBounds
.Top);