20 references to IsUserMode
System.Windows.Forms (20)
winforms\Managed\System\WinForms\AxHost.cs (20)
304return IsUserMode() || editMode != EDITM_NONE; 315if (axState[fOwnWindow] && IsUserMode()) { 568(ocState > OC_RUNNING || (IsUserMode() && ocState >= OC_RUNNING)) || 1295bool olduMode = IsUserMode(); 1302bool newuMode = IsUserMode(); 1359if (IsUserMode()) return; 1508bool resetExtents = !IsUserMode(); 1740if (IsUserMode()) { 1770if (!IsUserMode() && !axState[ocxStateSet]) { 2029if (IsUserMode()) { 2403return IsUserMode(); 2613if (IsUserMode()) { 2661if (!this.IsUserMode()) { 3424if (false && (axState[manualUpdate] && IsUserMode())) { 3457if (IsUserMode()) { 4459if (IsUserMode()) { 4592axState[fOwnWindow] = ((bits & NativeMethods.ActiveX.OLEMISC_INVISIBLEATRUNTIME) != 0) && IsUserMode(); 5888if (invoker.IsUserMode() && invoker.AwaitingDefreezing()) { 5907if (control.GetOcState() >= OC_RUNNING && control.IsUserMode() && control.AwaitingDefreezing()) { 6053if (!ctl.IsUserMode()) {