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