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)
200
private bool CanUIActivate =>
IsUserMode
() || _editMode != EDITM_NONE;
210
if (_axState[s_fOwnWindow] &&
IsUserMode
())
380
return (_axState[s_fOwnWindow] && (ocState > OC_RUNNING || (
IsUserMode
() && ocState >= OC_RUNNING)))
897
bool olduMode =
IsUserMode
();
903
bool newuMode =
IsUserMode
();
969
if (
IsUserMode
() || !Site.TryGetService(out ISelectionService? selectionService))
1124
bool resetExtents = !
IsUserMode
();
1373
if (
IsUserMode
())
1408
if (!
IsUserMode
() && !_axState[s_ocxStateSet])
1669
if (!
IsUserMode
())
2083
return
IsUserMode
();
2329
if (
IsUserMode
())
2383
if (
IsUserMode
())
3097
if (
IsUserMode
())
3343
if (
IsUserMode
())
3460
_axState[s_fOwnWindow] = bits.HasFlag(OLEMISC.OLEMISC_INVISIBLEATRUNTIME) &&
IsUserMode
();