4 references to GetIFontFromFont
System.Windows.Forms.Tests (4)
System\Windows\Forms\AxHostTests.cs (4)
1523
IFont.Interface iFont = (IFont.Interface)SubAxHost.
GetIFontFromFont
(font);
1545
IFont.Interface iFont = (IFont.Interface)SubAxHost.
GetIFontFromFont
(font);
1571
Assert.Throws<ArgumentException>("font", () => SubAxHost.
GetIFontFromFont
(font));
1577
Assert.Null(SubAxHost.
GetIFontFromFont
(null));