protected override bool OnDeactivate()
        {
            m_editEvents.OnSketchModified           -= OnSketchModified;
            m_editEvents5.OnShapeConstructorChanged -= OnShapeConstructorChanged;
            m_editEvents.OnSketchFinished           -= OnSketchFinished;

            // Destroy address map tip
            m_addressMaptip.Close();
            m_addressMaptip = null;
            m_settings.Save();

            return(true);
        }