private void m_editEvents5_OnShapeConstructorChanged()
 {
     //activate new constructor
     m_csc.Deactivate();
     m_csc = null;
     m_csc = m_edSketch.ShapeConstructor;
     m_csc.Activate();
 }
 private void OnShapeConstructorChanged()
 {
     if (m_csc != null)
     {
         m_csc.Deactivate();
     }
     m_csc = null;
     m_csc = m_edSketch.ShapeConstructor;
     if (m_csc != null)
     {
         m_csc.Activate();
     }
 }
 private void OnShapeConstructorChanged()
 {
     // Activate a new constructor
     if (m_csc != null)
     {
         m_csc.Deactivate();
     }
     m_csc = null;
     m_csc = m_edSketch.ShapeConstructor;
     if (m_csc != null)
     {
         //Need these two lines or else the tool throws COMException if it is use immediatly after a save edits operation.
         m_edSketch.RefreshSketch();
         m_edSketch.GeometryType = esriGeometryType.esriGeometryPolyline;
         m_csc.Activate();
     }
 }