39 references to GraphicsInternal
System.Windows.Forms (39)
System\Windows\Forms\Control.cs (2)
8072e.GraphicsInternal, 8172Graphics g = e.GraphicsInternal;
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (5)
339Graphics g = e.GraphicsInternal; 458Graphics g = e.GraphicsInternal; 522e.GraphicsInternal.FillRectangle(background, bounds); 539DrawFocus(e.GraphicsInternal, maxFocus); 551DrawImageCore(e.GraphicsInternal, Control.Image, layout.ImageBounds, layout.ImageStart, layout);
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonPopupAdapter.cs (1)
88Graphics g = e.GraphicsInternal;
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonStandardAdapter.cs (3)
78e.GraphicsInternal.FillRectangle(brush, bounds); 95e.GraphicsInternal, 173ControlPaint.DrawHighContrastFocusRectangle(e.GraphicsInternal, layout.Focus, highlightTextColor);
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxBaseAdapter.cs (4)
128DrawDitheredFill(e.GraphicsInternal, colors.ButtonFace, checkBackground, bounds); 142e.GraphicsInternal, 274ControlPaint.DrawMixedCheckBox(e.GraphicsInternal, layout.CheckBounds, style); 289ControlPaint.DrawCheckBox(e.GraphicsInternal, layout.CheckBounds, style);
System\Windows\Forms\Controls\Buttons\ButtonInternal\CheckBoxPopupAdapter.cs (3)
79originalClip = e.GraphicsInternal.Clip; 80e.GraphicsInternal.ExcludeClip(layout.CheckArea); 88e.GraphicsInternal.Clip = originalClip;
System\Windows\Forms\Controls\Buttons\ButtonInternal\RadioButtonBaseAdapter.cs (2)
32Graphics g = e.GraphicsInternal; 215ControlPaint.DrawRadioButton(e.GraphicsInternal, check, style);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
16667Graphics g = e.GraphicsInternal;
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (2)
472Graphics graphics = e.GraphicsInternal; 560Graphics graphics = e.GraphicsInternal;
System\Windows\Forms\Controls\Labels\Label.cs (3)
971DrawImage(e.GraphicsInternal, image, r, align); 1286e.GraphicsInternal.DrawString(Text, Font, brush, face, stringFormat); 1290ControlPaint.DrawStringDisabled(e.GraphicsInternal, Text, Font, color, face, stringFormat);
System\Windows\Forms\Controls\Labels\LinkLabel.cs (3)
970Graphics g = e.GraphicsInternal; 1053else if (_links[0].VisualRegion?.GetRegionScans(e.GraphicsInternal.Transform) is { } regionRectangles 1233Graphics g = e.GraphicsInternal;
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
3450Graphics toolstripGraphics = e.GraphicsInternal; 3639Graphics g = e.GraphicsInternal;
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (2)
306e.GraphicsInternal, 312e.GraphicsInternal,
System\Windows\Forms\Form.cs (1)
4427e.GraphicsInternal.FillRectangle(SystemBrushes.AppWorkspace, ClientRectangle);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
355Graphics 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)
334FONT_QUALITY quality = FontQualityFromTextRenderingHint(e.GraphicsInternal); 336using DeviceContextHdcScope graphicsHdc = new(e.GraphicsInternal, applyGraphicsState: false);