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