Exemplo n.º 1
0
        public ListItem(IListItem i)
            : base(i.GetName())
        {
            this.iListItem = i;
            this.type = i.GetTypeName();
            this.size = i.GetSize();
            this.date = i.GetDate();
            this.SetInfo();
            this.ImageIndex = (int) i.GetIconId();

            i.GetBaseObject().NameChanged += new EventHandler(NameChanged);
        }