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