/// <summary>
        /// 初始化 CharmStudyPlanList 类的新实例
        /// </summary>
        public CharmStudyPlanList()
            : base()
        {
            mItems = new StudyPlanListBoxItemCollection(this);
            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;
            buttonDownIndex = -1;
        }
        /// <summary>
        /// 初始化 CharmStudyPlanList 类的新实例
        /// </summary>
        public CharmStudyPlanList()
            : base()
        {
            mItems        = new StudyPlanListBoxItemCollection(this);
            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;
            buttonDownIndex      = -1;
        }