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