public bool CopyOrLinkFile(string file, bool exists, out CopyAction action, out bool applyforall) { var dialog = new AddItemDialog(file, exists, FileType.File); var result = dialog.ShowModal(this); action = dialog.Responce; applyforall = dialog.ApplyForAll; return(result); }
public bool CopyOrLinkFolder(string folder, bool exists, out CopyAction action, out bool applyforall) { var afd = new AddItemDialog(folder, exists, FileType.Folder); applyforall = false; if (afd.ShowModal(this)) { action = afd.Responce; return(true); } action = CopyAction.Link; return(false); }