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