4 references to GetIFontFromFont
System.Windows.Forms.Tests (4)
System\Windows\Forms\AxHostTests.cs (4)
1525
IFont.Interface iFont = (IFont.Interface)SubAxHost.
GetIFontFromFont
(font);
1547
IFont.Interface iFont = (IFont.Interface)SubAxHost.
GetIFontFromFont
(font);
1573
Assert.Throws<ArgumentException>("font", () => SubAxHost.
GetIFontFromFont
(font));
1579
Assert.Null(SubAxHost.
GetIFontFromFont
(null));