public void RenameFile(string oldFilename, string newFilename) { string newPathname = Path.GetFullPath(newFilename); RenameFile(Path.GetFullPath(oldFilename), newPathname, RecentFileHelper.ShortenPathname(newPathname, MaxShortenPathLength)); }
public void AddFile(string filename) { string pathname = Path.GetFullPath(filename); AddFile(pathname, RecentFileHelper.ShortenPathname(pathname, MaxShortenPathLength)); }