8 references to GetFontFromIFont
System.Windows.Forms.Tests (8)
System\Windows\Forms\AxHostTests.cs (8)
1436
Assert.Null(SubAxHost.
GetFontFromIFont
(null));
1442
Assert.Throws<InvalidCastException>(() => SubAxHost.
GetFontFromIFont
(new object()));
1461
Font result = SubAxHost.
GetFontFromIFont
(iFont);
1467
result = SubAxHost.
GetFontFromIFont
((IFontDisp.Interface)disp);
1490
Font result = SubAxHost.
GetFontFromIFont
(iFont);
1496
result = SubAxHost.
GetFontFromIFont
((IFontDisp.Interface)disp);
1536
Font result = SubAxHost.
GetFontFromIFont
(iFont);
1557
Font result = SubAxHost.
GetFontFromIFont
(iFont);