private string _getPath(string path) { if (path == null) { return("_"); } try { return(path.ReplaceFirst(GrfPath.GetDirectoryNameKeepSlash(ProjectConfiguration.DatabasePath), "%DB_PATH%\\")); } catch { return(path); } }