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