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