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