39 references to NativeHtmlWindow
System.Windows.Forms (39)
System\Windows\Forms\Controls\WebBrowser\HtmlDocument.HtmlDocumentShim.cs (1)
37_associatedWindow = window.NativeHtmlWindow;
System\Windows\Forms\Controls\WebBrowser\HtmlElement.HtmlElementShim.cs (1)
61_associatedWindow = window.NativeHtmlWindow;
System\Windows\Forms\Controls\WebBrowser\HtmlShimManager.cs (2)
178if (shim.AssociatedWindow == unloadedWindow.NativeHtmlWindow) 196if (shim.AssociatedWindow == unloadedWindow.NativeHtmlWindow)
System\Windows\Forms\Controls\WebBrowser\HtmlWindow.cs (33)
32Debug.Assert(NativeHtmlWindow is not null, "The window object should implement IHTMLWindow2"); 46using var htmlWindow2 = NativeHtmlWindow.GetInterface(); 73using var htmlWindow = NativeHtmlWindow.GetInterface(); 86public object DomWindow => NativeHtmlWindow.GetManagedObject(); 92using var htmlWindow = NativeHtmlWindow.GetInterface(); 103using var htmlWindow = NativeHtmlWindow.GetInterface(); 114using var htmlWindow = NativeHtmlWindow.GetInterface(); 128using var htmlWindow = NativeHtmlWindow.GetInterface(); 135using var htmlWindow = NativeHtmlWindow.GetInterface(); 145using var htmlWindow = NativeHtmlWindow.GetInterface(); 160using var htmlWindow = NativeHtmlWindow.GetInterface(); 187using var htmlWindow = NativeHtmlWindow.GetInterface(); 209using var htmlWindow = NativeHtmlWindow.GetInterface(); 216using var htmlWindow = NativeHtmlWindow.GetInterface(); 226using var htmlWindow = NativeHtmlWindow.GetInterface(); 257using var htmlWindow = NativeHtmlWindow.GetInterface(); 267using var htmlWindow = NativeHtmlWindow.GetInterface(); 273using var htmlWindow = NativeHtmlWindow.GetInterface(); 285using var htmlWindow = NativeHtmlWindow.GetInterface(); 294using var htmlWindow = NativeHtmlWindow.GetInterface(); 303using var htmlWindow = NativeHtmlWindow.GetInterface(); 309using var htmlWindow = NativeHtmlWindow.GetInterface(); 320using var htmlWindow = NativeHtmlWindow.GetInterface(); 331using var htmlWindow = NativeHtmlWindow.GetInterface(); 349using var htmlWindow = NativeHtmlWindow.GetInterface(); 363using var htmlWindow = NativeHtmlWindow.GetInterface(); 373using var htmlWindow = NativeHtmlWindow.GetInterface(); 382using var htmlWindow = NativeHtmlWindow.GetInterface(); 391using var htmlWindow = NativeHtmlWindow.GetInterface(); 400using var htmlWindow = NativeHtmlWindow.GetInterface(); 409using var htmlWindow = NativeHtmlWindow.GetInterface(); 472return left.NativeHtmlWindow.IsSameNativeObject(right.NativeHtmlWindow);
System\Windows\Forms\Controls\WebBrowser\HtmlWindow.HtmlWindowShim.cs (2)
37public IHTMLWindow2.Interface NativeHtmlWindow => (IHTMLWindow2.Interface)_htmlWindow.NativeHtmlWindow.GetManagedObject(); 101_htmlWindow?.NativeHtmlWindow?.Dispose();