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