1 write to Graphics
System.Windows.Forms (1)
System\Windows\Forms\Rendering\GdiCache.ScreenGraphicsScope.cs (1)
26
Graphics
= scope.HDC.CreateGraphics();
4 references to Graphics
System.Windows.Forms (4)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.LayoutOptions.cs (1)
671
screen.
Graphics
.MeasureString(Text, Font, new SizeF(proposedSize.Width, proposedSize.Height),
System\Windows\Forms\Controls\Labels\Label.cs (1)
1086
requiredSize = Size.Ceiling(screen.
Graphics
.MeasureString(Text, Font, bounds, stringFormat));
System\Windows\Forms\Rendering\GdiCache.ScreenGraphicsScope.cs (2)
29
public static implicit operator Graphics(in ScreenGraphicsScope scope) => scope.
Graphics
;
33
Graphics
?.Dispose();