SkinCollection.cs
上传用户:xlxx0122
上传日期:2015-04-24
资源大小:3904k
文件大小:1k
源码类别:

.net编程

开发平台:

C#

  1. namespace Sunisoft.IrisSkin
  2. {
  3.     using Sunisoft.IrisSkin.Design;
  4.     using System;
  5.     using System.Collections;
  6.     using System.ComponentModel;
  7.     using System.Drawing.Design;
  8.     using System.Reflection;
  9.     [Editor(typeof(xf4009cb7cc23b91e), typeof(UITypeEditor))]
  10.     public class SkinCollection : CollectionBase
  11.     {
  12.         internal SkinCollection()
  13.         {
  14.         }
  15.         public SkinCollectionItem Add(SkinCollectionItem item)
  16.         {
  17.             base.List.Add(item);
  18.             return item;
  19.         }
  20.         public void Remove(SkinCollectionItem item)
  21.         {
  22.             base.List.Remove(item);
  23.         }
  24.         public void Remove(int index)
  25.         {
  26.             base.List.RemoveAt(index);
  27.         }
  28.         public SkinCollectionItem this[int index]
  29.         {
  30.             get
  31.             {
  32.                 return (SkinCollectionItem) base.List[index];
  33.             }
  34.         }
  35.     }
  36. }