2 writes to _swatch
System.Windows.Forms.Design (2)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (2)
273
_swatch
= null;
290
_swatch
= new Bitmap(width, height);
3 references to _swatch
System.Windows.Forms.Design (3)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (3)
286
if (
_swatch
is null)
292
using Graphics swatchGraphics = Graphics.FromImage(
_swatch
);
297
g.DrawImage(
_swatch
, new Point(EditRegionRelativeLocation.X + 2, EditorLineSwatchPadding + 5));