public void SetCurrentFolderViewModel(FsExplorerViewModel viewModel) { this.currentFolderViewModel = viewModel; IsFolder = true; groupBoxSelectedFsEntryName.Text = "Current folder name"; SetEntryName(viewModel.CurrentDirName); }
public void SetViewModel(FsExplorerViewModel viewModel) { this.viewModel = viewModel; fsDirectoryEntriesGridUserControl.SetIsFoldersGrid(true); fsFileEntriesGridUserControl.SetIsFoldersGrid(false); viewModel.FsEntriesRefreshed += ViewModel_FsEntriesRefreshed; UpdateFsEntryGrids(); }
public void SetParentFolderViewModel(FsExplorerViewModel viewModel) { this.parentFolderViewModel = viewModel; }