1 write to Graphics
System.Windows.Forms (1)
System\Drawing\Design\PaintValueEventArgs.cs (1)
25
Graphics
= graphics.OrThrowIfNull();
9 references to Graphics
System.Windows.Forms.Design (8)
System\Drawing\Design\ColorEditor.cs (1)
52
e.
Graphics
.FillRectangle(brush, e.Bounds);
System\Drawing\Design\FontNameEditor.cs (2)
42
e.
Graphics
.FillRectangle(SystemBrushes.ActiveCaption, e.Bounds);
79
e.
Graphics
.DrawString("abcd", font, SystemBrushes.ActiveCaptionText, e.Bounds, format);
System\Drawing\Design\IconEditor.cs (1)
132
e.
Graphics
.DrawIcon(icon, rectangle);
System\Drawing\Design\ImageEditor.cs (2)
179
e.
Graphics
.DrawRectangle(SystemPens.WindowFrame, r);
180
e.
Graphics
.DrawImage(image, e.Bounds);
System\Windows\Forms\Design\ImageIndexEditor.cs (1)
133
ImageEditor.PaintValue(new PaintValueEventArgs(e.Context, image, e.
Graphics
, e.Bounds));
System\Windows\Forms\Design\ImageListImageEditor.cs (1)
118
e = new PaintValueEventArgs(e.Context, image.Image, e.
Graphics
, e.Bounds);
System.Windows.Forms.Tests (1)
System\Drawing\Design\PaintValueEventArgsTests.cs (1)
28
Assert.Same(graphics, e.
Graphics
);