39 references to GraphicsInternal
System.Windows.Forms (39)
System\Windows\Forms\Control.cs (2)
8113
e.
GraphicsInternal
,
8213
Graphics g = e.
GraphicsInternal
;
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (5)
339
Graphics g = e.
GraphicsInternal
;
458
Graphics g = e.
GraphicsInternal
;
522
e.
GraphicsInternal
.FillRectangle(background, bounds);
539
DrawFocus(e.
GraphicsInternal
, maxFocus);
551
DrawImageCore(e.
GraphicsInternal
, Control.Image, layout.ImageBounds, layout.ImageStart, layout);
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonPopupAdapter.cs (1)
88
Graphics g = e.
GraphicsInternal
;
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonStandardAdapter.cs (3)
78
e.
GraphicsInternal
.FillRectangle(brush, bounds);
95
e.
GraphicsInternal
,
173
ControlPaint.DrawHighContrastFocusRectangle(e.
GraphicsInternal
, layout.Focus, highlightTextColor);
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxBaseAdapter.cs (4)
128
DrawDitheredFill(e.
GraphicsInternal
, colors.ButtonFace, checkBackground, bounds);
142
e.
GraphicsInternal
,
274
ControlPaint.DrawMixedCheckBox(e.
GraphicsInternal
, layout.CheckBounds, style);
289
ControlPaint.DrawCheckBox(e.
GraphicsInternal
, layout.CheckBounds, style);
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxPopupAdapter.cs (3)
79
originalClip = e.
GraphicsInternal
.Clip;
80
e.
GraphicsInternal
.ExcludeClip(layout.CheckArea);
88
e.
GraphicsInternal
.Clip = originalClip;
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonBaseAdapter.cs (2)
32
Graphics g = e.
GraphicsInternal
;
215
ControlPaint.DrawRadioButton(e.
GraphicsInternal
, check, style);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
16686
Graphics g = e.
GraphicsInternal
;
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (2)
472
Graphics graphics = e.
GraphicsInternal
;
560
Graphics graphics = e.
GraphicsInternal
;
System\Windows\Forms\Controls\Labels\Label.cs (3)
971
DrawImage(e.
GraphicsInternal
, image, r, align);
1286
e.
GraphicsInternal
.DrawString(Text, Font, brush, face, stringFormat);
1290
ControlPaint.DrawStringDisabled(e.
GraphicsInternal
, Text, Font, color, face, stringFormat);
System\Windows\Forms\Controls\Labels\LinkLabel.cs (3)
970
Graphics g = e.
GraphicsInternal
;
1053
else if (_links[0].VisualRegion?.GetRegionScans(e.
GraphicsInternal
.Transform) is { } regionRectangles
1233
Graphics g = e.
GraphicsInternal
;
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
3448
Graphics toolstripGraphics = e.
GraphicsInternal
;
3637
Graphics g = e.
GraphicsInternal
;
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (2)
306
e.
GraphicsInternal
,
312
e.
GraphicsInternal
,
System\Windows\Forms\Form.cs (1)
4427
e.
GraphicsInternal
.FillRectangle(SystemBrushes.AppWorkspace, ClientRectangle);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
355
Graphics g = e.
GraphicsInternal
;
System\Windows\Forms\Rendering\PaintEventArgs.cs (2)
31
/// We can potentially optimize further by skipping the save when we only use <see cref="
GraphicsInternal
"/>
51
? new DrawingEventArgs(e.
GraphicsInternal
, clipRect, e._event.Flags)
System\Windows\Forms\Rendering\TextRenderer.cs (2)
334
FONT_QUALITY quality = FontQualityFromTextRenderingHint(e.
GraphicsInternal
);
336
using DeviceContextHdcScope graphicsHdc = new(e.
GraphicsInternal
, applyGraphicsState: false);