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)
196
public override Rectangle Bounds =>
_glyphBounds
;
210
return
_glyphBounds
!= Rectangle.Empty && baseParentBounds.Contains(
_glyphBounds
) &&
_glyphBounds
.Contains(p) ? Cursors.Hand : null;
224
if (_relatedPanel!.Visible && _image is not null &&
_glyphBounds
!= Rectangle.Empty && baseParentBounds.Contains(
_glyphBounds
))
226
pe.Graphics.DrawImage(_image,
_glyphBounds
.Left,
_glyphBounds
.Top);