protected override void Dispose(bool disposing) { if (m_pHOperator != null) { m_pHOperator.Dispose(); m_pHOperator = null; } if (m_pHSelection != null) { m_pHSelection.Dispose(); m_pHSelection = null; m_pHView.SetSelection((HSelectionSet)null); } if (m_pHView != null) { m_pHView.Dispose(); m_pHView = null; } if (m_pHModel != null) { m_pHModel.Dispose(); m_pHModel = null; } base.Dispose(disposing); }
/*! * Disposes HOOPS/MVO components and then Disposes panel */ public virtual void DisposePanel() { ((HBaseOperator)m_pHOperator).Dispose(); m_pHSelection.Dispose(); m_pHView.SetSelection((HSelectionSet)null); m_pHView.Dispose(); m_pHModel.Dispose(); this.Dispose(); }