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