コード例 #1
0
        public PropertyDescriptorCollection GetProperties()
        {
            PropertyDescriptorCollection pds = new PropertyDescriptorCollection(null);

            for (int i = 0; i < List.Count; i++)
            {
                PerLevelPropertyDescriptor pd = new PerLevelPropertyDescriptor(this, i);
                pds.Add(pd);
            }
            return(pds);
        }
コード例 #2
0
ファイル: PerLevel.cs プロジェクト: kharsus/WorldSmith
        public PropertyDescriptorCollection GetProperties()
        {
            PropertyDescriptorCollection pds = new PropertyDescriptorCollection(null);

            for(int i = 0; i < List.Count; i++)
            {
                PerLevelPropertyDescriptor pd = new PerLevelPropertyDescriptor(this, i);
                pds.Add(pd);
            }
            return pds;
        }