43 references to NativeHtmlWindow
System.Windows.Forms (43)
winforms\Managed\System\WinForms\HtmlDocument.cs (1)
903
associatedWindow = window.
NativeHtmlWindow
;
winforms\Managed\System\WinForms\HtmlElement.cs (1)
1433
associatedWindow = window.
NativeHtmlWindow
;
winforms\Managed\System\WinForms\HtmlShimManager.cs (2)
152
if (shim.AssociatedWindow == unloadedWindow.
NativeHtmlWindow
) {
166
if (shim.AssociatedWindow == unloadedWindow.
NativeHtmlWindow
) {
winforms\Managed\System\WinForms\HtmlWindow.cs (39)
43
Debug.Assert(this.
NativeHtmlWindow
!= null, "The window object should implement IHTMLWindow2");
87
UnsafeNativeMethods.IHTMLDocument iHTMLDocument = this.
NativeHtmlWindow
.GetDocument() as UnsafeNativeMethods.IHTMLDocument;
100
return this.
NativeHtmlWindow
;
112
UnsafeNativeMethods.IHTMLFramesCollection2 iHTMLFramesCollection2 = this.
NativeHtmlWindow
.GetFrames();
125
UnsafeNativeMethods.IOmHistory iOmHistory = this.
NativeHtmlWindow
.GetHistory();
138
return this.
NativeHtmlWindow
.GetClosed();
150
return this.
NativeHtmlWindow
.GetName();
154
this.
NativeHtmlWindow
.SetName(value);
166
UnsafeNativeMethods.IHTMLWindow2 iHTMLWindow2 = this.
NativeHtmlWindow
.GetOpener() as UnsafeNativeMethods.IHTMLWindow2;
179
UnsafeNativeMethods.IHTMLWindow2 iHTMLWindow2 = this.
NativeHtmlWindow
.GetParent();
192
return new Point(((UnsafeNativeMethods.IHTMLWindow3)this.
NativeHtmlWindow
).GetScreenLeft(),
193
((UnsafeNativeMethods.IHTMLWindow3)this.
NativeHtmlWindow
).GetScreenTop());
205
UnsafeNativeMethods.IHTMLElement bodyElement = this.
NativeHtmlWindow
.GetDocument().GetBody();
222
return this.
NativeHtmlWindow
.GetStatus();
226
this.
NativeHtmlWindow
.SetStatus(value);
238
UnsafeNativeMethods.IHTMLLocation iHtmlLocation = this.
NativeHtmlWindow
.GetLocation();
252
UnsafeNativeMethods.IHTMLElement htmlElement = ((UnsafeNativeMethods.IHTMLWindow4)this.
NativeHtmlWindow
).frameElement() as UnsafeNativeMethods.IHTMLElement;
263
this.
NativeHtmlWindow
.Alert(message);
281
this.
NativeHtmlWindow
.Close();
290
return this.
NativeHtmlWindow
.Confirm(message);
308
this.
NativeHtmlWindow
.Focus();
317
this.
NativeHtmlWindow
.MoveTo(x, y);
326
this.
NativeHtmlWindow
.MoveTo(point.X, point.Y);
335
this.
NativeHtmlWindow
.Navigate(url.ToString());
349
this.
NativeHtmlWindow
.Navigate(urlString);
363
UnsafeNativeMethods.IHTMLWindow2 iHTMLWindow2 = this.
NativeHtmlWindow
.Open(urlString, target, windowOptions, replaceEntry);
388
UnsafeNativeMethods.IHTMLWindow2 iHTMLWindow2 = this.
NativeHtmlWindow
.Open(urlString, "_blank", windowOptions, true);
408
return this.
NativeHtmlWindow
.Prompt(message, defaultInputValue).ToString();
417
this.
NativeHtmlWindow
.Blur();
426
this.
NativeHtmlWindow
.ResizeTo(width, height);
434
this.
NativeHtmlWindow
.ResizeTo(size.Width, size.Height);
443
this.
NativeHtmlWindow
.ScrollTo(x, y);
452
this.
NativeHtmlWindow
.ScrollTo(point.X, point.Y);
683
get { return htmlWindow.
NativeHtmlWindow
; }
688
get { return htmlWindow.
NativeHtmlWindow
; }
744
if (htmlWindow != null && htmlWindow.
NativeHtmlWindow
!= null)
746
Marshal.FinalReleaseComObject(htmlWindow.
NativeHtmlWindow
);
789
leftPtr = Marshal.GetIUnknownForObject(left.
NativeHtmlWindow
);
790
rightPtr = Marshal.GetIUnknownForObject(right.
NativeHtmlWindow
);