73 references to AxHost
System.Windows.Forms (73)
winforms\Managed\System\WinForms\AxHost.cs (54)
298isMaskEdit = this.clsid.Equals(AxHost.maskEdit_Clsid); 1561if (GetAxState(AxHost.handlePosRectChanged)) 3888private AxHost host; 3891internal OleInterfaces(AxHost host) { 3916internal AxHost GetAxHost() { 4118Debug.Assert(!host.GetAxState(AxHost.siteProcessedInputKey), "Re-entering UnsafeNativeMethods.IOleControlSite.TranslateAccelerator!!!"); 4119host.SetAxState(AxHost.siteProcessedInputKey, true); 4132host.SetAxState(AxHost.siteProcessedInputKey, false); 4171if (host.GetAxState(AxHost.fOwnWindow)) { 4175if (host.GetAxState(AxHost.fFakingWindow)) { 4253host.SetAxState(AxHost.ownDisposing, false); 4254host.SetAxState(AxHost.rejectSelection, false); 4332if (AxHost.windowsMediaPlayer_Clsid.Equals(host.clsid)) 4333useRect = host.GetAxState(AxHost.handlePosRectChanged); 5258private AxHost siteUIActive; 5259private AxHost siteActive; 5265private AxHost ctlInEditMode = null; 5554AxHost hostctl = ctl as AxHost; 5665private bool RegisterControl(AxHost ctl) { 5697AxHost axctl = ctl as AxHost; 5790internal void OnInPlaceDeactivate(AxHost site) { 5806internal void OnUIDeactivate(AxHost site) { 5829internal void OnUIActivate(AxHost site) { 5837AxHost tempSite = siteUIActive; 5838bool ownDisposing = tempSite.GetAxState(AxHost.ownDisposing); 5840tempSite.SetAxState(AxHost.ownDisposing, true); 5844tempSite.SetAxState(AxHost.ownDisposing, ownDisposing); 5869AxHost hostctl = ctl as AxHost; 5885internal void ControlCreated(AxHost invoker) { 5903AxHost[] axControls = new AxHost[l.Count]; 5906AxHost control = axControls[i]; 6001internal void OnExitEditMode(AxHost ctl) { 6028AxHost ctl = null; 6150if (ctl != null && ctl is AxHost) { 6151return ((AxHost)ctl).GetOcx(); 6192return AxHost.GetOleColorFromColor(((Control)GetP()).BackColor); 6198GetP().BackColor = AxHost.GetColorFromOleColor(value); 6217return AxHost.GetOleColorFromColor(((Control)GetP()).ForeColor); 6223GetP().ForeColor = AxHost.GetColorFromOleColor(value); 6583internal State(MemoryStream ms, int storageType, AxHost ctl, PropertyBagStream propBag) { 6589this.manualUpdate = ctl.GetAxState(AxHost.manualUpdate); 6607internal State(AxHost ctl) { 6609manualUpdate = ctl.GetAxState(AxHost.manualUpdate); 6932AxHost host = obj as AxHost; 6953internal AxHost owner; 6974internal AxPropertyDescriptor(PropertyDescriptor baseProp, AxHost owner) : base(baseProp) { 7161owner.SetAxState(AxHost.valueChanged, true); 7380private AxHost owner; 7385public AxPerPropertyBrowsingEnum(AxPropertyDescriptor targetObject, AxHost owner, OleStrCAMarshaler names, Int32CAMarshaler values, bool allowUnknowns) : base(new string[0], new object[0], allowUnknowns) {
winforms\Managed\System\WinForms\ContainerControl.cs (4)
607((AxHost.AxContainer)Properties.GetObject(PropAxContainer)).FormCreated(); 624internal AxHost.AxContainer CreateAxContainer() { 627aXContainer = new AxHost.AxContainer(this); 630return(AxHost.AxContainer)aXContainer;
winforms\Managed\System\WinForms\HtmlDocument.cs (2)
890private AxHost.ConnectionPointCookie cookie; 954this.cookie = new AxHost.ConnectionPointCookie(this.NativeHtmlDocument2,
winforms\Managed\System\WinForms\HtmlElement.cs (2)
1416private AxHost.ConnectionPointCookie cookie; // To hook up events from the native HtmlElement 1473this.cookie = new AxHost.ConnectionPointCookie(this.NativeHtmlElement,
winforms\Managed\System\WinForms\HtmlWindow.cs (2)
673private AxHost.ConnectionPointCookie cookie; 709this.cookie = new AxHost.ConnectionPointCookie(NativeHtmlWindow,
winforms\Managed\System\WinForms\PropertyGrid.cs (3)
164private AxHost.ConnectionPointCookie[] connectionPointCookies = null; 4637connectionPointCookies = new AxHost.ConnectionPointCookie[currentObjects.Length]; 4647connectionPointCookies[i] = new AxHost.ConnectionPointCookie(obj, this, typeof(UnsafeNativeMethods.IPropertyNotifySink), /*throwException*/ false);
winforms\Managed\System\WinForms\WebBrowser.cs (2)
46private AxHost.ConnectionPointCookie cookie; // To hook up events from the native WebBrowser 1279this.cookie = new AxHost.ConnectionPointCookie(ax, webBrowserEvent,
winforms\Managed\System\WinForms\WebBrowserContainer.cs (2)
57ppenum = new AxHost.EnumUnknown(temp); 61ppenum = new AxHost.EnumUnknown(null);
winforms\Managed\System\WinForms\WebBrowserSiteBase.cs (2)
53private AxHost.ConnectionPointCookie connectionPoint; 472connectionPoint = new AxHost.ConnectionPointCookie(nativeObject, this, typeof(UnsafeNativeMethods.IPropertyNotifySink));