91 references to _axState
System.Windows.Forms (91)
System\Windows\Forms\ActiveX\AxHost.cs (91)
192_axState[s_assignUniqueID] = !GetType().GUID.Equals(s_comctlImageCombo_Clsid); 193_axState[s_needLicenseKey] = true; 194_axState[s_rejectSelection] = true; 210if (_axState[s_fOwnWindow] && IsUserMode()) 221return _axState[mask]; 226_axState[mask] = value; 380return (_axState[s_fOwnWindow] && (ocState > OC_RUNNING || (IsUserMode() && ocState >= OC_RUNNING))) 420if (containingControl.Visible && Visible && !_axState[s_fOwnWindow]) 812private bool OwnWindow() => _axState[s_fOwnWindow] || _axState[s_fFakingWindow]; 818if (_axState[s_addedSelectionHandler]) 828_axState[s_addedSelectionHandler] = true; 846if (!_axState[s_addedSelectionHandler]) 856_axState[s_addedSelectionHandler] = false; 862if (DesignMode && hook != _axState[s_renameEventHooked]) 878_axState[s_renameEventHooked] = hook; 888if (_axState[s_disposed]) 928if (olduMode != newuMode && !IsHandleCreated && !_axState[s_disposed]) 1020if (_axState[s_fOwnWindow]) 1026else if (_axState[s_fNeedOwnWindow]) 1029_axState[s_fNeedOwnWindow] = false; 1030_axState[s_fFakingWindow] = true; 1043if (_axState[s_fNeedOwnWindow]) 1181_axState[s_handlePosRectChanged] = true; 1190if (_axState[s_fFakingWindow]) 1220if (_axState[s_manualUpdate]) 1235_axState[s_handlePosRectChanged] = false; 1263WindowAssignHandle(handle, _axState[s_assignUniqueID]); 1265_axState[s_manualUpdate] = true; 1275if (_axState[s_fOwnWindow]) 1287if (_axState[s_inTransition]) 1294_axState[s_inTransition] = true; 1309if (_axState[s_fFakingWindow]) 1341_axState[s_inTransition] = false; 1347if (_axState[s_inTransition]) 1354_axState[s_inTransition] = true; 1361_axState[s_disposed] = false; 1379_axState[s_ownDisposing] = false; 1380Debug.Assert(!_axState[s_fOwnWindow], "If we are invis at runtime, we should never be going beyond OC_RUNNING"); 1381if (!_axState[s_fOwnWindow]) 1405if (!IsUserMode() && !_axState[s_ocxStateSet]) 1441_axState[s_inTransition] = false; 1466_axState[s_ownDisposing] = true; 1491Debug.Assert(_axState[s_fFakingWindow], "have to be faking it in order to destroy it..."); 1499_axState[s_fFakingWindow] = false; 1538if ((IsHandleCreated || value) && ParentInternal is not null && ParentInternal.Created && !_axState[s_fOwnWindow]) 1543if (_axState[s_fFakingWindow]) 1574Debug.Assert(!_axState[s_fFakingWindow], "if we were visible, we could not have had a fake window..."); 1581_axState[s_fNeedOwnWindow] = false; 1584if (!_axState[s_fOwnWindow]) 1618Debug.Assert(!_axState[s_fOwnWindow], "can't own our window when hiding"); 1628_axState[s_fNeedOwnWindow] = true; 1671if (_axState[s_siteProcessedInputKey]) 1683_axState[s_siteProcessedInputKey] = false; 1720return _axState[s_siteProcessedInputKey] && base.PreProcessMessage(ref msg); 1725_axState[s_siteProcessedInputKey] = false; 1822Debug.Assert(!_axState[s_disposed], "we could not be asking for the object when we are axState[disposed]..."); 1830_axState[s_ocxStateSet] = true; 1849_axState[s_manualUpdate] = _ocxState.ManualUpdate; 2015if (_axState[s_valueChanged]) 2017_axState[s_valueChanged] = false; 2182bool ownDispose = _axState[s_ownDisposing]; 2183_axState[s_ownDisposing] = true; 2191_axState[s_ownDisposing] = ownDispose; 2212if (_licenseKey is not null || !_axState[s_needLicenseKey]) 2233_axState[s_needLicenseKey] = false; 2428if (!_axState[s_editorRefresh] && HasPropertyPages()) 2430_axState[s_editorRefresh] = true; 2507if (_axState[s_refreshProperties]) 2517return _axState[s_refreshProperties]; 2521_axState[s_refreshProperties] = value; 2522if (value && !_axState[s_listeningToIdle]) 2525_axState[s_listeningToIdle] = true; 2527else if (!value && _axState[s_listeningToIdle]) 2530_axState[s_listeningToIdle] = false; 2870if (!_axState[s_sinkAttached]) 2882_axState[s_sinkAttached] = true; 2888if (_axState[s_sinkAttached]) 2899_axState[s_sinkAttached] = false; 3164if (_axState[s_processingKeyUp]) 3169_axState[s_processingKeyUp] = true; 3179_axState[s_processingKeyUp] = false; 3237if (!_axState[s_fFakingWindow]) 3239WindowAssignHandle(hwnd, _axState[s_assignUniqueID]); 3362_axState[s_rejectSelection] = true; 3381=> GetControlEnabled() && !_axState[s_rejectSelection] && base.CanSelectCore(); 3407private bool GetSiteOwnsDeactivation() => _axState[s_ownDisposing]; 3440_axState[s_disposed] = true; 3443_axState[s_sinkAttached] = false; 3457_axState[s_fOwnWindow] = bits.HasFlag(OLEMISC.OLEMISC_INVISIBLEATRUNTIME) && IsUserMode(); 3460_axState[s_fSimpleFrame] = bits.HasFlag(OLEMISC.OLEMISC_SIMPLEFRAME);