2 references to GetFont
System.Windows.Forms.Tests (2)
System\Windows\Forms\VisualStyles\VisualStyleRendererTests.cs (2)
573
using Font font = renderer.
GetFont
(graphics, FontProperty.TextFont);
586
Assert.Throws<InvalidEnumArgumentException>("prop", () => renderer.
GetFont
(graphics, value));