void FileListingUc1_RenameClicked(object sender, Academic.ViewModel.IdAndNameEventArgs e) { FolderAddDialogUc1.FolderId = e.Id; FolderAddDialogUc1.FolderName = e.Name; if (e.Check) { FolderAddDialogUc1.SetValues("Folder rename"); } else { FolderAddDialogUc1.SetValues("File rename"); } FolderAddDialogUc1.OpenDialog(); }
void SetFolderAddDialog() { FolderAddDialogUc1.SetValues("New folder");//, null, "" FolderAddDialogUc1.ParentFolderId = FolderId; }