/// <summary>
        /// 初始化 CharmCatalogueList 类的新实例
        /// </summary>
        public CharmCatalogueList()
            : base()
        {
            mItems        = new CatalogListBoxItemCollection(this);
            mHideItems    = new List <CatalogListBoxItem>();
            base.DrawMode = DrawMode.OwnerDrawVariable;
            SetStyle(ControlStyles.UserPaint, true);
            SetStyle(ControlStyles.DoubleBuffer, true);          // 双缓冲
            SetStyle(ControlStyles.ResizeRedraw, true);          //调整大小时重绘
            SetStyle(ControlStyles.AllPaintingInWmPaint, true);  // 禁止擦除背景.
            SetStyle(ControlStyles.OptimizedDoubleBuffer, true); // 双缓冲
            SetStyle(ControlStyles.SupportsTransparentBackColor, true);

            // 初始化属性
            buttonHighlightIndex = -1;
        }
        /// <summary>
        /// 初始化 CharmCatalogueList 类的新实例
        /// </summary>
        public CharmCatalogueList()
            : base()
        {
            mItems = new CatalogListBoxItemCollection(this);
            mHideItems = new List<CatalogListBoxItem>();
            base.DrawMode = DrawMode.OwnerDrawVariable;
            SetStyle(ControlStyles.UserPaint, true);
            SetStyle(ControlStyles.DoubleBuffer, true);// 双缓冲
            SetStyle(ControlStyles.ResizeRedraw, true);//调整大小时重绘
            SetStyle(ControlStyles.AllPaintingInWmPaint, true); // 禁止擦除背景.
            SetStyle(ControlStyles.OptimizedDoubleBuffer, true);// 双缓冲
            SetStyle(ControlStyles.SupportsTransparentBackColor, true);

            // 初始化属性
            buttonHighlightIndex = -1;
        }