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