2 writes to activeXInstance
System.Windows.Forms (2)
winforms\Managed\System\WinForms\WebBrowserBase.cs (2)
914this.activeXInstance = UnsafeNativeMethods.CoCreateInstance(ref clsid, null, NativeMethods.CLSCTX_INPROC_SERVER, ref NativeMethods.ActiveX.IID_IUnknown); 944this.activeXInstance = null;
15 references to activeXInstance
System.Windows.Forms (15)
winforms\Managed\System\WinForms\WebBrowser.cs (1)
1275object ax = this.activeXInstance;
winforms\Managed\System\WinForms\WebBrowserBase.cs (12)
134return activeXInstance; 913Debug.Assert(activeXInstance == null, "activeXInstance must be null"); 915Debug.Assert(activeXInstance != null, "w/o an exception being thrown we must have an object..."); 938if (activeXInstance != null) { 943Marshal.FinalReleaseComObject(activeXInstance); 1084Debug.Assert(activeXInstance != null, "The native control is null"); 1085this.axOleObject = (UnsafeNativeMethods.IOleObject)activeXInstance; 1086this.axOleInPlaceObject = (UnsafeNativeMethods.IOleInPlaceObject)activeXInstance; 1087this.axOleInPlaceActiveObject = (UnsafeNativeMethods.IOleInPlaceActiveObject)activeXInstance; 1088this.axOleControl = (UnsafeNativeMethods.IOleControl)activeXInstance; 1092AttachInterfaces(activeXInstance); 1242if (activeXInstance != null) {
winforms\Managed\System\WinForms\WebBrowserContainer.cs (1)
179object ax = webBrowserBase.activeXInstance;
winforms\Managed\System\WinForms\WebBrowserSiteBase.cs (1)
468Object nativeObject = this.Host.activeXInstance;