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(); }