Exemplo n.º 1
0
        /// <summary>
        /// Occurs when this command is clicked
        /// </summary>
        public override void OnClick()
        {
            if (null == m_hookHelper)
            {
                return;
            }

            if (m_hookHelper.FocusMap.LayerCount > 0)
            {
                BufferDlg bufferDlg = new BufferDlg(m_hookHelper);
                bufferDlg.Show();
            }
        }
    /// <summary>
    /// Occurs when this command is clicked
    /// </summary>
    public override void OnClick()
    {
      if (null == m_hookHelper)
        return;

      if (m_hookHelper.FocusMap.LayerCount > 0)
      {
        BufferDlg bufferDlg = new BufferDlg(m_hookHelper);
        bufferDlg.Show();
      }
    }