示例#1
0
        public void SetCurrentFolderViewModel(FsExplorerViewModel viewModel)
        {
            this.currentFolderViewModel = viewModel;
            IsFolder = true;

            groupBoxSelectedFsEntryName.Text = "Current folder name";
            SetEntryName(viewModel.CurrentDirName);
        }
示例#2
0
        public void SetViewModel(FsExplorerViewModel viewModel)
        {
            this.viewModel = viewModel;

            fsDirectoryEntriesGridUserControl.SetIsFoldersGrid(true);
            fsFileEntriesGridUserControl.SetIsFoldersGrid(false);

            viewModel.FsEntriesRefreshed += ViewModel_FsEntriesRefreshed;
            UpdateFsEntryGrids();
        }
示例#3
0
 public void SetParentFolderViewModel(FsExplorerViewModel viewModel)
 {
     this.parentFolderViewModel = viewModel;
 }