91 references to _axState
System.Windows.Forms (91)
System\Windows\Forms\ActiveX\AxHost.cs (91)
191_axState[s_assignUniqueID] = !GetType().GUID.Equals(s_comctlImageCombo_Clsid); 192_axState[s_needLicenseKey] = true; 193_axState[s_rejectSelection] = true; 209if (_axState[s_fOwnWindow] && IsUserMode()) 220return _axState[mask]; 225_axState[mask] = value; 379return (_axState[s_fOwnWindow] && (ocState > OC_RUNNING || (IsUserMode() && ocState >= OC_RUNNING))) 422if (containingControl.Visible && Visible && !_axState[s_fOwnWindow]) 814private bool OwnWindow() => _axState[s_fOwnWindow] || _axState[s_fFakingWindow]; 820if (_axState[s_addedSelectionHandler]) 830_axState[s_addedSelectionHandler] = true; 848if (!_axState[s_addedSelectionHandler]) 858_axState[s_addedSelectionHandler] = false; 864if (DesignMode && hook != _axState[s_renameEventHooked]) 880_axState[s_renameEventHooked] = hook; 890if (_axState[s_disposed]) 930if (olduMode != newuMode && !IsHandleCreated && !_axState[s_disposed]) 1022if (_axState[s_fOwnWindow]) 1028else if (_axState[s_fNeedOwnWindow]) 1031_axState[s_fNeedOwnWindow] = false; 1032_axState[s_fFakingWindow] = true; 1045if (_axState[s_fNeedOwnWindow]) 1183_axState[s_handlePosRectChanged] = true; 1192if (_axState[s_fFakingWindow]) 1222if (_axState[s_manualUpdate]) 1237_axState[s_handlePosRectChanged] = false; 1265WindowAssignHandle(handle, _axState[s_assignUniqueID]); 1267_axState[s_manualUpdate] = true; 1277if (_axState[s_fOwnWindow]) 1289if (_axState[s_inTransition]) 1296_axState[s_inTransition] = true; 1311if (_axState[s_fFakingWindow]) 1343_axState[s_inTransition] = false; 1349if (_axState[s_inTransition]) 1356_axState[s_inTransition] = true; 1363_axState[s_disposed] = false; 1381_axState[s_ownDisposing] = false; 1382Debug.Assert(!_axState[s_fOwnWindow], "If we are invis at runtime, we should never be going beyond OC_RUNNING"); 1383if (!_axState[s_fOwnWindow]) 1407if (!IsUserMode() && !_axState[s_ocxStateSet]) 1443_axState[s_inTransition] = false; 1468_axState[s_ownDisposing] = true; 1493Debug.Assert(_axState[s_fFakingWindow], "have to be faking it in order to destroy it..."); 1501_axState[s_fFakingWindow] = false; 1540if ((IsHandleCreated || value) && ParentInternal is not null && ParentInternal.Created && !_axState[s_fOwnWindow]) 1545if (_axState[s_fFakingWindow]) 1576Debug.Assert(!_axState[s_fFakingWindow], "if we were visible, we could not have had a fake window..."); 1583_axState[s_fNeedOwnWindow] = false; 1586if (!_axState[s_fOwnWindow]) 1620Debug.Assert(!_axState[s_fOwnWindow], "can't own our window when hiding"); 1630_axState[s_fNeedOwnWindow] = true; 1673if (_axState[s_siteProcessedInputKey]) 1685_axState[s_siteProcessedInputKey] = false; 1722return _axState[s_siteProcessedInputKey] && base.PreProcessMessage(ref msg); 1727_axState[s_siteProcessedInputKey] = false; 1824Debug.Assert(!_axState[s_disposed], "we could not be asking for the object when we are axState[disposed]..."); 1832_axState[s_ocxStateSet] = true; 1851_axState[s_manualUpdate] = _ocxState.ManualUpdate; 2017if (_axState[s_valueChanged]) 2019_axState[s_valueChanged] = false; 2184bool ownDispose = _axState[s_ownDisposing]; 2185_axState[s_ownDisposing] = true; 2193_axState[s_ownDisposing] = ownDispose; 2214if (_licenseKey is not null || !_axState[s_needLicenseKey]) 2235_axState[s_needLicenseKey] = false; 2430if (!_axState[s_editorRefresh] && HasPropertyPages()) 2432_axState[s_editorRefresh] = true; 2509if (_axState[s_refreshProperties]) 2519return _axState[s_refreshProperties]; 2523_axState[s_refreshProperties] = value; 2524if (value && !_axState[s_listeningToIdle]) 2527_axState[s_listeningToIdle] = true; 2529else if (!value && _axState[s_listeningToIdle]) 2532_axState[s_listeningToIdle] = false; 2872if (!_axState[s_sinkAttached]) 2884_axState[s_sinkAttached] = true; 2890if (_axState[s_sinkAttached]) 2901_axState[s_sinkAttached] = false; 3166if (_axState[s_processingKeyUp]) 3171_axState[s_processingKeyUp] = true; 3181_axState[s_processingKeyUp] = false; 3238if (!_axState[s_fFakingWindow]) 3240WindowAssignHandle(hwnd, _axState[s_assignUniqueID]); 3363_axState[s_rejectSelection] = true; 3382=> GetControlEnabled() && !_axState[s_rejectSelection] && base.CanSelectCore(); 3408private bool GetSiteOwnsDeactivation() => _axState[s_ownDisposing]; 3441_axState[s_disposed] = true; 3444_axState[s_sinkAttached] = false; 3458_axState[s_fOwnWindow] = bits.HasFlag(OLEMISC.OLEMISC_INVISIBLEATRUNTIME) && IsUserMode(); 3461_axState[s_fSimpleFrame] = bits.HasFlag(OLEMISC.OLEMISC_SIMPLEFRAME);