protected override ShellFolder GetFolderAsRoot(ShellItemIdList idList)
 {
     if (_root == null)
     {
         _root = new SimpleFolder(idList);
     }
     return(_root);
 }
Exemplo n.º 2
0
        public SimplePngItem(SimpleFolder parent, string text, ulong key)
            : base(parent, new StringKeyShellItemId(text))
        {
            // this is needed for icon
            ItemType = IOUtilities.PathGetExtension(text);

            Thumbnail = new SimpleThumbnail(this, key);
        }
 public SimpleFolder(SimpleFolder parent, string name)
     : base(parent, new StringKeyShellItemId(name))
 {
     Level = parent.Level + 1;
 }