private void TransitionFromInPlaceActiveToRunning()
{
Debug.Assert(this.ActiveXState == ActiveXHelper.ActiveXState.InPlaceActive, "Wrong start state to transition from");
if (this.ActiveXState == ActiveXHelper.ActiveXState.InPlaceActive)
{
//
// InPlaceDeactivate.
_axOleInPlaceObject.InPlaceDeactivate();
//
// We are now Running!
this.ActiveXState = ActiveXHelper.ActiveXState.Running;
}
}