Пример #1
0
 int IOleInPlaceSite.OnInPlaceActivate()
 {
     if (!this.DesignMode)
     {
         Application.DoEvents();
         m_ieServerWindow = new IEServerWindow(this);
     }
     return Hresults.S_OK;
 }
Пример #2
0
 int IOleInPlaceSite.OnInPlaceDeactivate()
 {
     if ((!this.DesignMode) && (m_ieServerWindow != null))
     {
         m_ieServerWindow.Release();
         m_ieServerWindow = null;
     }
     return Hresults.E_NOTIMPL;
 }
Пример #3
0
 int IOleInPlaceSite.OnUIActivate()
 {
     if (!this.DesignMode)
         m_ieServerWindow = new IEServerWindow(this);
     return Hresults.S_OK;
 }