Inheritance: BaseDynamicLayer
        /// <summary>
        /// Occurs when this command is clicked
        /// </summary>
        public override void OnClick()
        {
            IDynamicMap dynamicMap = m_hookHelper.FocusMap as IDynamicMap;

            if (dynamicMap == null || dynamicMap.DynamicMapEnabled == false)
            {
                return;
            }

            MyDynamicLayer dynamicLayer = new MyDynamicLayer();

            m_hookHelper.FocusMap.AddLayer(dynamicLayer);
        }
    /// <summary>
    /// Occurs when this command is clicked
    /// </summary>
    public override void OnClick()
    {
      IDynamicMap dynamicMap = m_hookHelper.FocusMap as IDynamicMap;
      if (dynamicMap == null || dynamicMap.DynamicMapEnabled == false)
        return;

      MyDynamicLayer dynamicLayer = new MyDynamicLayer();
      m_hookHelper.FocusMap.AddLayer(dynamicLayer);
    }