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