Exemplo n.º 1
0
        public void RenameFile(string oldFilename, string newFilename)
        {
            string newPathname = Path.GetFullPath(newFilename);

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

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