7 instantiations of HtmlWindow
System.Windows.Forms (7)
System\Windows\Forms\Controls\WebBrowser\HtmlDocument.cs (1)
166return iHTMLWindow2 is not null ? new HtmlWindow(ShimManager, iHTMLWindow2) : null;
System\Windows\Forms\Controls\WebBrowser\HtmlWindow.cs (4)
151? new HtmlWindow(ShimManager, htmlWindow2) 163return (iHTMLWindow2 is not null) ? new HtmlWindow(ShimManager, iHTMLWindow2) : null; 337return htmlWindow2 is not null ? new HtmlWindow(ShimManager, htmlWindow2) : null; 355return 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)
42 references to HtmlWindow
System.Windows.Forms (37)
System\Windows\Forms\Controls\WebBrowser\HtmlDocument.cs (1)
159public 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 (14)
17private Dictionary<HtmlWindow, HtmlWindow.HtmlWindowShim>? _htmlWindowShims; 52/// Adds a <see cref="HtmlWindow.HtmlWindowShim"/> to list of shims to manage. 54public void AddWindowShim(HtmlWindow window) 56HtmlWindow.HtmlWindowShim? shim = null; 60shim = new HtmlWindow.HtmlWindowShim(window); 65shim = new HtmlWindow.HtmlWindowShim(window); 131internal HtmlWindow.HtmlWindowShim? GetWindowShim(HtmlWindow window) 138if (_htmlWindowShims.TryGetValue(window, out HtmlWindow.HtmlWindowShim? windowShim)) 149if (addedShim is not null and not HtmlWindow.HtmlWindowShim) 163internal void OnWindowUnloaded(HtmlWindow unloadedWindow) 207if (_htmlWindowShims.Remove(unloadedWindow, out HtmlWindow.HtmlWindowShim? shim)) 242foreach (HtmlWindow.HtmlWindowShim shim in _htmlWindowShims.Values)
System\Windows\Forms\Controls\WebBrowser\HtmlWindow.cs (11)
141public HtmlWindow? Opener 156public HtmlWindow? Parent 329public HtmlWindow? Open(string urlString, string target, string windowOptions, bool replaceEntry) 340public HtmlWindow? Open(Uri url, string target, string windowOptions, bool replaceEntry) => 347public HtmlWindow? OpenNew(string urlString, string windowOptions) 358public HtmlWindow? OpenNew(Uri url, string windowOptions) => 459public static unsafe bool operator ==(HtmlWindow? left, HtmlWindow? right) 475public static bool operator !=(HtmlWindow? left, HtmlWindow? right) => !(left == right); 479public 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 (2)
28private HtmlWindow _htmlWindow; 30public HtmlWindowShim(HtmlWindow window)
System\Windows\Forms\Controls\WebBrowser\HtmlWindowCollection.cs (4)
31public HtmlWindow? this[int index] 50public HtmlWindow? this[string windowId] 108HtmlWindow[] htmlWindows = new HtmlWindow[Count];
System.Windows.Forms.Tests (5)
System\Windows\Forms\HtmlDocumentTests.cs (1)
1391HtmlWindow window = document.Window;
System\Windows\Forms\HtmlWindowTests.cs (4)
23HtmlWindow window = document.Window; 39HtmlWindow window = document.Window; 55HtmlWindow window = document.Window; 85HtmlWindow window = document.Window;