public HierarchicalWrapper_Folder(string header, IHierarchicalWrapperConfig cfg, DirectoryPath path, bool root, bool perm)
        {
            _isRoot   = root;
            _path     = path;
            _header   = header;
            _config   = cfg;
            Permanent = perm;

            if (_isRoot && cfg.ShowAllNotesNode)
            {
                SubFolder.Add(AllNotesViewWrapper = new HierarchicalWrapper_AllNotes(this, cfg));
            }
            if (_isRoot && cfg.ShowEmptyPathNode)
            {
                SubFolder.Add(EmptyPathViewWrapper = new HierarchicalWrapper_UnsortedNotes(this, cfg));
            }
        }
 public HierarchicalWrapper_UnsortedNotes(HierarchicalWrapper_Folder baseWrapper, IHierarchicalWrapperConfig cfg)
     : base("Unsorted notes", cfg, DP_UNSORTEDNOTES, false, false)
 {
     _baseWrapper = baseWrapper;
 }
 public HierarchicalWrapper_AllNotes(HierarchicalWrapper_Folder baseWrapper, IHierarchicalWrapperConfig cfg)
     : base("All notes", cfg, DP_ALLNOTES, false, false)
 {
     _baseWrapper = baseWrapper;
     IsSelected   = true;
 }