50 references to Host
System.Windows.Forms (50)
winforms\Managed\System\WinForms\WebBrowser.cs (4)
1718WebBrowser wb = (WebBrowser)this.Host; 1740WebBrowser wb = (WebBrowser)this.Host; 1826WebBrowser wb = (WebBrowser)this.Host; 1839WebBrowser wb = (WebBrowser)this.Host;
winforms\Managed\System\WinForms\WebBrowserSiteBase.cs (46)
168Debug.Assert(!this.Host.GetAXHostState(WebBrowserHelper.siteProcessedInputKey), "Re-entering UnsafeNativeMethods.IOleControlSite.TranslateAccelerator!!!"); 169this.Host.SetAXHostState(WebBrowserHelper.siteProcessedInputKey, true); 178bool f = ((Control)this.Host).PreProcessControlMessage(ref msg) == PreProcessControlState.MessageProcessed; 182this.Host.SetAXHostState(WebBrowserHelper.siteProcessedInputKey, false); 217container = this.Host.GetParentContainer(); 225if (this.Host.ActiveXState >= WebBrowserHelper.AXState.InPlaceActive) { 227if (NativeMethods.Succeeded(this.Host.AXInPlaceObject.GetWindow(out hwnd))) { 228if (this.Host.GetHandleNoCreate() != hwnd) { 230this.Host.AttachWindow(hwnd); 231this.OnActiveXRectChange(new NativeMethods.COMRECT(this.Host.Bounds)); 235else if (this.Host.AXInPlaceObject is UnsafeNativeMethods.IOleInPlaceObjectWindowless) { 262return UnsafeNativeMethods.GetParent(new HandleRef(Host, Host.Handle)); 286this.Host.ActiveXState = WebBrowserHelper.AXState.InPlaceActive; 287this.OnActiveXRectChange(new NativeMethods.COMRECT(this.Host.Bounds)); 294this.Host.ActiveXState = WebBrowserHelper.AXState.UIActive; 295this.Host.GetParentContainer().OnUIActivate(this.Host); 304ppFrame = this.Host.GetParentContainer(); 306lprcPosRect.left = this.Host.Bounds.X; 307lprcPosRect.top = this.Host.Bounds.Y; 308lprcPosRect.right = this.Host.Bounds.Width + this.Host.Bounds.X; 309lprcPosRect.bottom = this.Host.Bounds.Height + this.Host.Bounds.Y; 317lpFrameInfo.hwndFrame = (this.Host.ParentInternal == null) ? IntPtr.Zero : this.Host.ParentInternal.Handle; 331this.Host.GetParentContainer().OnUIDeactivate(this.Host); 332if (this.Host.ActiveXState > WebBrowserHelper.AXState.InPlaceActive) { 333this.Host.ActiveXState = WebBrowserHelper.AXState.InPlaceActive; 341if (this.Host.ActiveXState == WebBrowserHelper.AXState.UIActive) { 345this.Host.GetParentContainer().OnInPlaceDeactivate(this.Host); 346this.Host.ActiveXState = WebBrowserHelper.AXState.Running; 359return this.Host.AXInPlaceObject.UIDeactivate(); 392if (this.Host.NoComponentChangeEvents != 0) 395this.Host.NoComponentChangeEvents++; 406this.Host.NoComponentChangeEvents--; 423ISite site = this.Host.Site; 432changeService.OnComponentChanging(this.Host, null); 445changeService.OnComponentChanged(this.Host, null, null, null); 461return this.Host; 468Object nativeObject = this.Host.activeXInstance; 492this.Host.AXInPlaceObject.SetObjectRects( 495this.Host.MakeDirty();