20 references to OC_INPLACE
System.Windows.Forms (20)
System\Windows\Forms\ActiveX\AxHost.cs (15)
380
|| ocState >=
OC_INPLACE
;
426
else if (!containingControl.Visible && Visible && IsHandleCreated && GetOcState() >=
OC_INPLACE
)
430
else if (containingControl.Visible && !GetState(States.Visible) && IsHandleCreated && GetOcState() >=
OC_INPLACE
)
922
TransitionUpTo(
OC_INPLACE
);
1040
TransitionUpTo(
OC_INPLACE
);
1158
if (GetOcState() <
OC_INPLACE
)
1308
SetOcState(
OC_INPLACE
);
1310
case
OC_INPLACE
:
1422
if (GetOcState() <
OC_INPLACE
)
1424
SetOcState(
OC_INPLACE
);
1429
case
OC_INPLACE
:
1622
Debug.Assert(GetOcState() >=
OC_INPLACE
, "have to be in place in order to hide.");
1625
if (GetOcState() <
OC_INPLACE
)
1633
SetOcState(
OC_INPLACE
);
3135
if (GetOcState() >=
OC_INPLACE
)
System\Windows\Forms\ActiveX\AxHost.OleInterfaces.cs (5)
295
_host.TransitionUpTo(
OC_INPLACE
);
298
if (_host.GetOcState() <
OC_INPLACE
)
355
_host.SetOcState(
OC_INPLACE
);
411
if (_host.GetOcState() >
OC_INPLACE
)
413
_host.SetOcState(
OC_INPLACE
);