Exemplo n.º 1
0
        public void SetCurrentFolderViewModel(FsExplorerViewModel viewModel)
        {
            this.currentFolderViewModel = viewModel;
            IsFolder = true;

            groupBoxSelectedFsEntryName.Text = "Current folder name";
            SetEntryName(viewModel.CurrentDirName);
        }
Exemplo n.º 2
0
        public void SetViewModel(FsExplorerViewModel viewModel)
        {
            this.viewModel = viewModel;

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

            viewModel.FsEntriesRefreshed += ViewModel_FsEntriesRefreshed;
            UpdateFsEntryGrids();
        }
Exemplo n.º 3
0
 public void SetParentFolderViewModel(FsExplorerViewModel viewModel)
 {
     this.parentFolderViewModel = viewModel;
 }