int IOleInPlaceSite.OnInPlaceActivate() { if (!this.DesignMode) { Application.DoEvents(); m_ieServerWindow = new IEServerWindow(this); } return Hresults.S_OK; }
int IOleInPlaceSite.OnInPlaceDeactivate() { if ((!this.DesignMode) && (m_ieServerWindow != null)) { m_ieServerWindow.Release(); m_ieServerWindow = null; } return Hresults.E_NOTIMPL; }
int IOleInPlaceSite.OnUIActivate() { if (!this.DesignMode) m_ieServerWindow = new IEServerWindow(this); return Hresults.S_OK; }