示例#1
0
        private void LoadDirectory(IDirectoryViewItem file)
        {
            gContent.Children.Clear();

            DirectoryPreview dirPreview = new DirectoryPreview();
            dirPreview.LoadDirectory(file.CreateFileSystem().GetDirectoryContent(file.FullName));

            gContent.Children.Add(dirPreview);
        }
示例#2
0
        private void LoadDirectory(IDirectoryViewItem file)
        {
            gContent.Children.Clear();

            DirectoryPreview dirPreview = new DirectoryPreview();

            dirPreview.LoadDirectory(file.CreateFileSystem().GetDirectoryContent(file.FullName));

            gContent.Children.Add(dirPreview);
        }