91 instantiations of SubAxHost
System.Windows.Forms.Tests (91)
System\Windows\Forms\AxHostTests.cs (91)
29using SubAxHost control = new(clsid); 123using SubAxHost control = new(clsid, flags); 216Assert.Throws<ArgumentNullException>("g", () => new SubAxHost(null)); 217Assert.Throws<ArgumentNullException>("g", () => new SubAxHost(null, 0)); 225Assert.Throws<FormatException>(() => new SubAxHost(clsid)); 231using SubAxHost control = new(EmptyClsidString); 267using SubAxHost control = new(WebBrowserClsidString) 292using SubAxHost control = new(EmptyClsidString) 307using SubAxHost control = new(EmptyClsidString) 324using SubAxHost control = new(EmptyClsidString) 341using SubAxHost control = new(EmptyClsidString); 353using SubAxHost control = new(EmptyClsidString) 371using SubAxHost control = new(EmptyClsidString) 389using SubAxHost control = new(EmptyClsidString) 421using SubAxHost control = new(EmptyClsidString) 436using SubAxHost control = new(EmptyClsidString) 451using SubAxHost control = new(WebBrowserClsidString); 468using SubAxHost control = new(EmptyClsidString); 498using SubAxHost control = new(EmptyClsidString); 518using SubAxHost control = new(EmptyClsidString) 537using SubAxHost control = new(EmptyClsidString) 552using SubAxHost control = new(EmptyClsidString) 567using SubAxHost control = new(EmptyClsidString); 575using SubAxHost control = new(EmptyClsidString) 610using SubAxHost control = new(WebBrowserClsidString) 674using SubAxHost control = new(WebBrowserClsidString) 738using SubAxHost control = new(WebBrowserClsidString) 807using SubAxHost control = new(WebBrowserClsidString); 884using SubAxHost control = new(EmptyClsidString) 901using SubAxHost control = new(WebBrowserClsidString); 929using SubAxHost control = new(EmptyClsidString); 938using SubAxHost control = new(EmptyClsidString); 947using SubAxHost control = new(EmptyClsidString); 956using SubAxHost control = new(EmptyClsidString); 965using SubAxHost control = new(EmptyClsidString); 974using SubAxHost control = new(EmptyClsidString); 983using SubAxHost control = new(EmptyClsidString); 992using SubAxHost control = new(EmptyClsidString); 1001using SubAxHost control = new(EmptyClsidString); 1010using SubAxHost control = new(EmptyClsidString); 1019using SubAxHost control = new(EmptyClsidString); 1028using SubAxHost control = new(EmptyClsidString); 1037using SubAxHost control = new(EmptyClsidString); 1046using SubAxHost control = new(EmptyClsidString); 1055using SubAxHost control = new(EmptyClsidString); 1064using SubAxHost control = new(EmptyClsidString); 1073using SubAxHost control = new(EmptyClsidString); 1082using SubAxHost control = new(EmptyClsidString); 1091using SubAxHost control = new(EmptyClsidString); 1100using SubAxHost control = new(EmptyClsidString); 1109using SubAxHost control = new(EmptyClsidString); 1118using SubAxHost control = new(EmptyClsidString); 1127using SubAxHost control = new(EmptyClsidString); 1136using SubAxHost control = new(EmptyClsidString); 1145using SubAxHost control = new(EmptyClsidString); 1154using SubAxHost control = new(EmptyClsidString); 1163using SubAxHost control = new(EmptyClsidString); 1172using SubAxHost control = new(EmptyClsidString); 1181using SubAxHost control = new(EmptyClsidString); 1190using SubAxHost control = new(EmptyClsidString); 1199using SubAxHost control = new(EmptyClsidString); 1208using SubAxHost control = new(EmptyClsidString); 1217using SubAxHost control = new(EmptyClsidString); 1226using SubAxHost control = new(EmptyClsidString); 1235using SubAxHost control = new(EmptyClsidString); 1244using SubAxHost control = new(EmptyClsidString); 1253using SubAxHost control = new(EmptyClsidString); 1262using SubAxHost control = new(EmptyClsidString); 1270using SubAxHost control = new(EmptyClsidString); 1294using SubAxHost control = new(WebBrowserClsidString); 1305using SubAxHost control = new(WebBrowserClsidString) 1322using SubAxHost control = new(WebBrowserClsidString); 1334using SubAxHost control = new(EmptyClsidString); 1341using SubAxHost control = new(EmptyClsidString); 1351using SubAxHost control = new(WebBrowserClsidString) 1370using SubAxHost control = new(WebBrowserClsidString); 1382using SubAxHost control = new(EmptyClsidString); 1389using SubAxHost control = new(EmptyClsidString); 1398using SubAxHost control = new(EmptyClsidString); 1407using SubAxHost control = new(EmptyClsidString); 1747using SubAxHost control = new(EmptyClsidString); 1793using SubAxHost control = new(WebBrowserClsidString) 1856using SubAxHost control = new(WebBrowserClsidString) 1874using SubAxHost control = new(WebBrowserClsidString); 2086using SubAxHost control = new(WebBrowserClsidString) 2151using SubAxHost control = new(WebBrowserClsidString) 2258using SubAxHost control = new(EmptyClsidString); 2282using SubAxHost control = new(EmptyClsidString); 2306using SubAxHost control = new(EmptyClsidString); 3079SubAxHost control = new(WebBrowserClsidString); 3091using SubAxHost control = new(WebBrowserClsidString);
120 references to SubAxHost
System.Windows.Forms.Tests (120)
System\Windows\Forms\AxHostTests.cs (120)
29using SubAxHost control = new(clsid); 123using SubAxHost control = new(clsid, flags); 231using SubAxHost control = new(EmptyClsidString); 267using SubAxHost control = new(WebBrowserClsidString) 292using SubAxHost control = new(EmptyClsidString) 307using SubAxHost control = new(EmptyClsidString) 324using SubAxHost control = new(EmptyClsidString) 341using SubAxHost control = new(EmptyClsidString); 353using SubAxHost control = new(EmptyClsidString) 371using SubAxHost control = new(EmptyClsidString) 389using SubAxHost control = new(EmptyClsidString) 421using SubAxHost control = new(EmptyClsidString) 436using SubAxHost control = new(EmptyClsidString) 451using SubAxHost control = new(WebBrowserClsidString); 468using SubAxHost control = new(EmptyClsidString); 498using SubAxHost control = new(EmptyClsidString); 518using SubAxHost control = new(EmptyClsidString) 537using SubAxHost control = new(EmptyClsidString) 552using SubAxHost control = new(EmptyClsidString) 567using SubAxHost control = new(EmptyClsidString); 575using SubAxHost control = new(EmptyClsidString) 610using SubAxHost control = new(WebBrowserClsidString) 674using SubAxHost control = new(WebBrowserClsidString) 738using SubAxHost control = new(WebBrowserClsidString) 807using SubAxHost control = new(WebBrowserClsidString); 884using SubAxHost control = new(EmptyClsidString) 901using SubAxHost control = new(WebBrowserClsidString); 929using SubAxHost control = new(EmptyClsidString); 938using SubAxHost control = new(EmptyClsidString); 947using SubAxHost control = new(EmptyClsidString); 956using SubAxHost control = new(EmptyClsidString); 965using SubAxHost control = new(EmptyClsidString); 974using SubAxHost control = new(EmptyClsidString); 983using SubAxHost control = new(EmptyClsidString); 992using SubAxHost control = new(EmptyClsidString); 1001using SubAxHost control = new(EmptyClsidString); 1010using SubAxHost control = new(EmptyClsidString); 1019using SubAxHost control = new(EmptyClsidString); 1028using SubAxHost control = new(EmptyClsidString); 1037using SubAxHost control = new(EmptyClsidString); 1046using SubAxHost control = new(EmptyClsidString); 1055using SubAxHost control = new(EmptyClsidString); 1064using SubAxHost control = new(EmptyClsidString); 1073using SubAxHost control = new(EmptyClsidString); 1082using SubAxHost control = new(EmptyClsidString); 1091using SubAxHost control = new(EmptyClsidString); 1100using SubAxHost control = new(EmptyClsidString); 1109using SubAxHost control = new(EmptyClsidString); 1118using SubAxHost control = new(EmptyClsidString); 1127using SubAxHost control = new(EmptyClsidString); 1136using SubAxHost control = new(EmptyClsidString); 1145using SubAxHost control = new(EmptyClsidString); 1154using SubAxHost control = new(EmptyClsidString); 1163using SubAxHost control = new(EmptyClsidString); 1172using SubAxHost control = new(EmptyClsidString); 1181using SubAxHost control = new(EmptyClsidString); 1190using SubAxHost control = new(EmptyClsidString); 1199using SubAxHost control = new(EmptyClsidString); 1208using SubAxHost control = new(EmptyClsidString); 1217using SubAxHost control = new(EmptyClsidString); 1226using SubAxHost control = new(EmptyClsidString); 1235using SubAxHost control = new(EmptyClsidString); 1244using SubAxHost control = new(EmptyClsidString); 1253using SubAxHost control = new(EmptyClsidString); 1262using SubAxHost control = new(EmptyClsidString); 1270using SubAxHost control = new(EmptyClsidString); 1294using SubAxHost control = new(WebBrowserClsidString); 1305using SubAxHost control = new(WebBrowserClsidString) 1322using SubAxHost control = new(WebBrowserClsidString); 1334using SubAxHost control = new(EmptyClsidString); 1341using SubAxHost control = new(EmptyClsidString); 1351using SubAxHost control = new(WebBrowserClsidString) 1370using SubAxHost control = new(WebBrowserClsidString); 1382using SubAxHost control = new(EmptyClsidString); 1389using SubAxHost control = new(EmptyClsidString); 1398using SubAxHost control = new(EmptyClsidString); 1407using SubAxHost control = new(EmptyClsidString); 1434Assert.Null(SubAxHost.GetFontFromIFont(null)); 1440Assert.Throws<InvalidCastException>(() => SubAxHost.GetFontFromIFont(new object())); 1447object disp = SubAxHost.GetIFontDispFromFont(font); 1459Font result = SubAxHost.GetFontFromIFont(iFont); 1465result = SubAxHost.GetFontFromIFont((IFontDisp.Interface)disp); 1476object disp = SubAxHost.GetIFontDispFromFont(font); 1488Font result = SubAxHost.GetFontFromIFont(iFont); 1494result = SubAxHost.GetFontFromIFont((IFontDisp.Interface)disp); 1510Assert.Throws<ArgumentException>("font", () => SubAxHost.GetIFontDispFromFont(font)); 1516Assert.Null(SubAxHost.GetIFontDispFromFont(null)); 1523IFont.Interface iFont = (IFont.Interface)SubAxHost.GetIFontFromFont(font); 1534Font result = SubAxHost.GetFontFromIFont(iFont); 1545IFont.Interface iFont = (IFont.Interface)SubAxHost.GetIFontFromFont(font); 1555Font result = SubAxHost.GetFontFromIFont(iFont); 1571Assert.Throws<ArgumentException>("font", () => SubAxHost.GetIFontFromFont(font)); 1577Assert.Null(SubAxHost.GetIFontFromFont(null)); 1584IPicture.Interface iPicture = (IPicture.Interface)SubAxHost.GetIPictureFromCursor(original); 1601Assert.Throws<InvalidCastException>(() => SubAxHost.GetPictureFromIPicture(iPicture)); 1609object disp = SubAxHost.GetIPictureDispFromPicture(original); 1623var result = Assert.IsType<Bitmap>(SubAxHost.GetPictureFromIPictureDisp(disp)); 1633object disp = SubAxHost.GetIPictureDispFromPicture(original); 1647var result = Assert.IsType<Metafile>(SubAxHost.GetPictureFromIPictureDisp(disp)); 1655Assert.Throws<COMException>(() => SubAxHost.GetIPictureDispFromPicture(original)); 1661Assert.Null(SubAxHost.GetIPictureDispFromPicture(null)); 1669IPicture.Interface iPicture = (IPicture.Interface)SubAxHost.GetIPictureFromPicture(original); 1688var result = Assert.IsType<Bitmap>(SubAxHost.GetPictureFromIPicture(iPicture)); 1698IPicture.Interface iPicture = (IPicture.Interface)SubAxHost.GetIPictureFromPicture(original); 1715var result = Assert.IsType<Metafile>(SubAxHost.GetPictureFromIPicture(iPicture)); 1723Assert.Throws<COMException>(() => SubAxHost.GetIPictureFromPicture(original)); 1729Assert.Null(SubAxHost.GetIPictureFromPicture(null)); 1735Assert.Throws<InvalidCastException>(() => SubAxHost.GetPictureFromIPicture(new object())); 1741Assert.Null(SubAxHost.GetPictureFromIPicture(null)); 1747using SubAxHost control = new(EmptyClsidString); 1793using SubAxHost control = new(WebBrowserClsidString) 1856using SubAxHost control = new(WebBrowserClsidString) 1874using SubAxHost control = new(WebBrowserClsidString); 2086using SubAxHost control = new(WebBrowserClsidString) 2151using SubAxHost control = new(WebBrowserClsidString) 2258using SubAxHost control = new(EmptyClsidString); 2282using SubAxHost control = new(EmptyClsidString); 2306using SubAxHost control = new(EmptyClsidString); 3079SubAxHost control = new(WebBrowserClsidString); 3091using SubAxHost control = new(WebBrowserClsidString);