3 writes to _event
System.Windows.Forms (3)
System\Windows\Forms\Rendering\PaintEventArgs.cs (3)
50
_event
= hdc.IsNull
60
_event
= new DrawingEventArgs(graphics, clipRect, flags);
72
_event
= new DrawingEventArgs(hdc, clipRect, flags);
13 references to _event
System.Windows.Forms (13)
System\Windows\Forms\Rendering\PaintEventArgs.cs (13)
51
? new DrawingEventArgs(e.GraphicsInternal, clipRect, e.
_event
.Flags)
52
: new DrawingEventArgs(hdc, clipRect, e.
_event
.Flags);
80
public Rectangle ClipRectangle =>
_event
.ClipRectangle;
85
public Graphics Graphics =>
_event
.Graphics;
96
protected virtual void Dispose(bool disposing) =>
_event
?.Dispose(disposing);
106
Graphics? graphics =
_event
.GetGraphics(create: false);
107
if (
_event
.Flags.HasFlag(DrawingEventFlags.SaveState) && graphics is not null)
122
=> _savedGraphicsState =
_event
.Flags.HasFlag(DrawingEventFlags.SaveState) ? graphics.Save() : default;
127
internal Graphics GraphicsInternal =>
_event
.GetOrCreateGraphicsInternal(SaveStateIfNeeded);
132
internal HDC HDC =>
_event
.HDC;
138
IGraphics? IGraphicsHdcProvider.GetGraphics(bool createIfNeeded) =>
_event
.GetGraphics(createIfNeeded);
139
HDC IGraphicsHdcProvider.GetHdc() =>
_event
.GetHDC();
140
bool IGraphicsHdcProvider.IsGraphicsStateClean =>
_event
.IsStateClean;