8 instantiations of HtmlWindow
System.Windows.Forms (8)
System\Windows\Forms\Controls\WebBrowser\HtmlDocument.cs (1)
165return iHTMLWindow2 is not null ? new HtmlWindow(ShimManager, iHTMLWindow2) : null;
System\Windows\Forms\Controls\WebBrowser\HtmlShimManager.cs (1)
175AddWindowShim(new HtmlWindow(this, ComHelpers.GetComPointer<IHTMLWindow2>(associatedWindow)));
System\Windows\Forms\Controls\WebBrowser\HtmlWindow.cs (4)
151? new HtmlWindow(ShimManager, htmlWindow2) 163return (iHTMLWindow2 is not null) ? new HtmlWindow(ShimManager, iHTMLWindow2) : null; 340return htmlWindow2 is not null ? new HtmlWindow(ShimManager, htmlWindow2) : null; 358return iHTMLWindow2 is not null ? new HtmlWindow(ShimManager, iHTMLWindow2) : null;
System\Windows\Forms\Controls\WebBrowser\HtmlWindowCollection.cs (2)
45? new HtmlWindow(_shimManager, htmlWindow2) 74? new HtmlWindow(_shimManager, htmlWindow2)
37 references to HtmlWindow
System.Windows.Forms (37)
System\Windows\Forms\Controls\WebBrowser\HtmlDocument.cs (1)
158public HtmlWindow? Window
System\Windows\Forms\Controls\WebBrowser\HtmlDocument.HtmlDocumentShim.cs (1)
34HtmlWindow? window = htmlDocument.Window;
System\Windows\Forms\Controls\WebBrowser\HtmlElement.HtmlElementShim.cs (1)
58HtmlWindow? window = doc.Window;
System\Windows\Forms\Controls\WebBrowser\HtmlElementErrorEventArgs.cs (1)
27/// Gets or sets a value indicating whether the <see cref="HtmlWindow.Error"/>
System\Windows\Forms\Controls\WebBrowser\HtmlShimManager.cs (13)
17private Dictionary<HtmlWindow, HtmlWindow.HtmlWindowShim>? _htmlWindowShims; 55/// Adds a <see cref="HtmlWindow.HtmlWindowShim"/> to list of shims to manage. 57public void AddWindowShim(HtmlWindow window) 61HtmlWindow.HtmlWindowShim? shim = null; 65shim = new HtmlWindow.HtmlWindowShim(window); 70shim = new HtmlWindow.HtmlWindowShim(window); 137internal HtmlWindow.HtmlWindowShim? GetWindowShim(HtmlWindow window) 144if (_htmlWindowShims.TryGetValue(window, out HtmlWindow.HtmlWindowShim? windowShim)) 182internal void OnWindowUnloaded(HtmlWindow unloadedWindow) 215&& _htmlWindowShims.Remove(unloadedWindow, out HtmlWindow.HtmlWindowShim? windowShim)) 225private static unsafe bool IsAssociatedWindow(HtmlShim shim, HtmlWindow window)
System\Windows\Forms\Controls\WebBrowser\HtmlWindow.cs (11)
141public HtmlWindow? Opener 156public HtmlWindow? Parent 332public HtmlWindow? Open(string urlString, string target, string windowOptions, bool replaceEntry) 343public HtmlWindow? Open(Uri url, string target, string windowOptions, bool replaceEntry) => 350public HtmlWindow? OpenNew(string urlString, string windowOptions) 361public HtmlWindow? OpenNew(Uri url, string windowOptions) => 462public static unsafe bool operator ==(HtmlWindow? left, HtmlWindow? right) 478public static bool operator !=(HtmlWindow? left, HtmlWindow? right) => !(left == right); 482public override bool Equals(object? obj) => this == (HtmlWindow?)obj;
System\Windows\Forms\Controls\WebBrowser\HtmlWindow.HTMLWindowEvents2.cs (2)
18private readonly HtmlWindow _parent; 20public HTMLWindowEvents2(HtmlWindow htmlWindow)
System\Windows\Forms\Controls\WebBrowser\HtmlWindow.HtmlWindowShim.cs (3)
28private HtmlWindow _htmlWindow; 31public HtmlWindowShim(HtmlWindow window) 132HtmlWindow? window = _htmlWindow;
System\Windows\Forms\Controls\WebBrowser\HtmlWindowCollection.cs (4)
31public HtmlWindow? this[int index] 50public HtmlWindow? this[string windowId] 108HtmlWindow[] htmlWindows = new HtmlWindow[Count];