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