Exemplo n.º 1
0
Arquivo: Ac.cs Projeto: 15831944/Geo7
        public static string GetLastFileName(string filter)
        {
            var res = Ac.GetValue("FileDialog." + filter);

            if (string.IsNullOrEmpty(res))
            {
                res = System.IO.Path.ChangeExtension(Ac.Db.Filename, "");
                res = res.TrimEnd('.');
            }
            return(res);
        }