3 writes to _image
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionGlyph.cs (3)
78
_image
= null;
93
_image
= new Bitmap(typeof(ToolStripPanelSelectionGlyph), fileName);
95
_image
= ScaleHelper.ScaleToDpi(_image, ScaleHelper.InitialSystemDpi, disposeBitmap: true);
6 references to _image
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionGlyph.cs (6)
75
if (
_image
is not null)
77
_image
.Dispose();
94
_image
.MakeTransparent(Color.Magenta);
95
_image = ScaleHelper.ScaleToDpi(
_image
, ScaleHelper.InitialSystemDpi, disposeBitmap: true);
227
if (_relatedPanel!.Visible &&
_image
is not null && _glyphBounds != Rectangle.Empty && baseParentBounds.Contains(_glyphBounds))
229
pe.Graphics.DrawImage(
_image
, _glyphBounds.Left, _glyphBounds.Top);