41 references to NativeHtmlWindow
System.Windows.Forms (41)
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 (4)
60ObjectDisposedException.ThrowIf(window.NativeHtmlWindow.IsDisposed, window); 139if (_htmlWindowShims is null || window.NativeHtmlWindow.IsDisposed) 165if (window.NativeHtmlWindow.IsSameNativeObject(nativeWindow.Value)) 236return window.NativeHtmlWindow.IsSameNativeObject(nativeWindow.Value);
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(); 288using var htmlWindow = NativeHtmlWindow.GetInterface(); 297using var htmlWindow = NativeHtmlWindow.GetInterface(); 306using var htmlWindow = NativeHtmlWindow.GetInterface(); 312using var htmlWindow = NativeHtmlWindow.GetInterface(); 323using var htmlWindow = NativeHtmlWindow.GetInterface(); 334using var htmlWindow = NativeHtmlWindow.GetInterface(); 352using var htmlWindow = NativeHtmlWindow.GetInterface(); 366using var htmlWindow = NativeHtmlWindow.GetInterface(); 376using var htmlWindow = NativeHtmlWindow.GetInterface(); 385using var htmlWindow = NativeHtmlWindow.GetInterface(); 394using var htmlWindow = NativeHtmlWindow.GetInterface(); 403using var htmlWindow = NativeHtmlWindow.GetInterface(); 412using var htmlWindow = NativeHtmlWindow.GetInterface(); 475return left.NativeHtmlWindow.IsSameNativeObject(right.NativeHtmlWindow);
System\Windows\Forms\Controls\WebBrowser\HtmlWindow.HtmlWindowShim.cs (2)
38public IHTMLWindow2.Interface NativeHtmlWindow => (IHTMLWindow2.Interface)_htmlWindow.NativeHtmlWindow.GetManagedObject(); 135window?.NativeHtmlWindow.Dispose();