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))) 423if (containingControl.Visible && Visible && !_axState[s_fOwnWindow]) 815private bool OwnWindow() => _axState[s_fOwnWindow] || _axState[s_fFakingWindow]; 821if (_axState[s_addedSelectionHandler]) 831_axState[s_addedSelectionHandler] = true; 849if (!_axState[s_addedSelectionHandler]) 859_axState[s_addedSelectionHandler] = false; 865if (DesignMode && hook != _axState[s_renameEventHooked]) 881_axState[s_renameEventHooked] = hook; 891if (_axState[s_disposed]) 931if (olduMode != newuMode && !IsHandleCreated && !_axState[s_disposed]) 1023if (_axState[s_fOwnWindow]) 1029else if (_axState[s_fNeedOwnWindow]) 1032_axState[s_fNeedOwnWindow] = false; 1033_axState[s_fFakingWindow] = true; 1046if (_axState[s_fNeedOwnWindow]) 1184_axState[s_handlePosRectChanged] = true; 1193if (_axState[s_fFakingWindow]) 1223if (_axState[s_manualUpdate]) 1238_axState[s_handlePosRectChanged] = false; 1266WindowAssignHandle(handle, _axState[s_assignUniqueID]); 1268_axState[s_manualUpdate] = true; 1278if (_axState[s_fOwnWindow]) 1290if (_axState[s_inTransition]) 1297_axState[s_inTransition] = true; 1312if (_axState[s_fFakingWindow]) 1344_axState[s_inTransition] = false; 1350if (_axState[s_inTransition]) 1357_axState[s_inTransition] = true; 1364_axState[s_disposed] = false; 1382_axState[s_ownDisposing] = false; 1383Debug.Assert(!_axState[s_fOwnWindow], "If we are invis at runtime, we should never be going beyond OC_RUNNING"); 1384if (!_axState[s_fOwnWindow]) 1408if (!IsUserMode() && !_axState[s_ocxStateSet]) 1444_axState[s_inTransition] = false; 1469_axState[s_ownDisposing] = true; 1494Debug.Assert(_axState[s_fFakingWindow], "have to be faking it in order to destroy it..."); 1502_axState[s_fFakingWindow] = false; 1541if ((IsHandleCreated || value) && ParentInternal is not null && ParentInternal.Created && !_axState[s_fOwnWindow]) 1546if (_axState[s_fFakingWindow]) 1577Debug.Assert(!_axState[s_fFakingWindow], "if we were visible, we could not have had a fake window..."); 1584_axState[s_fNeedOwnWindow] = false; 1587if (!_axState[s_fOwnWindow]) 1621Debug.Assert(!_axState[s_fOwnWindow], "can't own our window when hiding"); 1631_axState[s_fNeedOwnWindow] = true; 1674if (_axState[s_siteProcessedInputKey]) 1686_axState[s_siteProcessedInputKey] = false; 1723return _axState[s_siteProcessedInputKey] && base.PreProcessMessage(ref msg); 1728_axState[s_siteProcessedInputKey] = false; 1825Debug.Assert(!_axState[s_disposed], "we could not be asking for the object when we are axState[disposed]..."); 1833_axState[s_ocxStateSet] = true; 1852_axState[s_manualUpdate] = _ocxState.ManualUpdate; 2018if (_axState[s_valueChanged]) 2020_axState[s_valueChanged] = false; 2185bool ownDispose = _axState[s_ownDisposing]; 2186_axState[s_ownDisposing] = true; 2194_axState[s_ownDisposing] = ownDispose; 2215if (_licenseKey is not null || !_axState[s_needLicenseKey]) 2236_axState[s_needLicenseKey] = false; 2431if (!_axState[s_editorRefresh] && HasPropertyPages()) 2433_axState[s_editorRefresh] = true; 2510if (_axState[s_refreshProperties]) 2520return _axState[s_refreshProperties]; 2524_axState[s_refreshProperties] = value; 2525if (value && !_axState[s_listeningToIdle]) 2528_axState[s_listeningToIdle] = true; 2530else if (!value && _axState[s_listeningToIdle]) 2533_axState[s_listeningToIdle] = false; 2873if (!_axState[s_sinkAttached]) 2885_axState[s_sinkAttached] = true; 2891if (_axState[s_sinkAttached]) 2902_axState[s_sinkAttached] = false; 3167if (_axState[s_processingKeyUp]) 3172_axState[s_processingKeyUp] = true; 3182_axState[s_processingKeyUp] = false; 3240if (!_axState[s_fFakingWindow]) 3242WindowAssignHandle(hwnd, _axState[s_assignUniqueID]); 3365_axState[s_rejectSelection] = true; 3384=> GetControlEnabled() && !_axState[s_rejectSelection] && base.CanSelectCore(); 3410private bool GetSiteOwnsDeactivation() => _axState[s_ownDisposing]; 3443_axState[s_disposed] = true; 3446_axState[s_sinkAttached] = false; 3460_axState[s_fOwnWindow] = bits.HasFlag(OLEMISC.OLEMISC_INVISIBLEATRUNTIME) && IsUserMode(); 3463_axState[s_fSimpleFrame] = bits.HasFlag(OLEMISC.OLEMISC_SIMPLEFRAME);