コード例 #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="IconImageListBase{EnumType}"/> class.
        /// </summary>
        public IconImageListBase()
        {
            m_targets = new TargetObjectInfo[MAX_COUNT_OF_ITEMS];
            for (int loop = 0; loop < MAX_COUNT_OF_ITEMS; loop++)
            {
                m_targets[loop] = new TargetObjectInfo(this);
            }

            m_collectionInfo = new IconCollectionInfo(typeof(EnumType));
        }
コード例 #2
0
        protected IconExtensionBase()
        {
            this.SideWidth = 16;

            m_collectionInfo = new IconCollectionInfo(typeof(EditorIcon));
        }