Example #1
0
        public void RenameFile(string oldFilename, string newFilename)
        {
            string newPathname = Path.GetFullPath(newFilename);

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

            AddFile(pathname, RecentFileHelper.ShortenPathname(pathname, MaxShortenPathLength));
        }