19 references to IsUserMode
System.Windows.Forms (19)
System\Windows\Forms\ActiveX\AxHost.AxContainer.cs (3)
513
if (invoker.
IsUserMode
() && invoker.AwaitingDefreezing())
545
if (hostControl.GetOcState() >= OC_RUNNING && hostControl.
IsUserMode
() && hostControl.AwaitingDefreezing())
690
if (!host.
IsUserMode
())
System\Windows\Forms\ActiveX\AxHost.cs (16)
199
private bool CanUIActivate =>
IsUserMode
() || _editMode != EDITM_NONE;
209
if (_axState[s_fOwnWindow] &&
IsUserMode
())
379
return (_axState[s_fOwnWindow] && (ocState > OC_RUNNING || (
IsUserMode
() && ocState >= OC_RUNNING)))
896
bool olduMode =
IsUserMode
();
902
bool newuMode =
IsUserMode
();
968
if (
IsUserMode
() || !Site.TryGetService(out ISelectionService? selectionService))
1123
bool resetExtents = !
IsUserMode
();
1372
if (
IsUserMode
())
1407
if (!
IsUserMode
() && !_axState[s_ocxStateSet])
1668
if (!
IsUserMode
())
2082
return
IsUserMode
();
2328
if (
IsUserMode
())
2382
if (
IsUserMode
())
3096
if (
IsUserMode
())
3341
if (
IsUserMode
())
3458
_axState[s_fOwnWindow] = bits.HasFlag(OLEMISC.OLEMISC_INVISIBLEATRUNTIME) &&
IsUserMode
();