void prop_ParsePath(object sender, ParsePathEventArgs e) { string strServerName = ""; string strPurePath = ""; // 解析记录路径。 // 记录路径为如下形态 "中文图书/1 @服务器" dp2SearchForm.ParseRecPath(e.Path, out strServerName, out strPurePath); e.DbName = strServerName + "|" + dp2SearchForm.GetDbName(strPurePath); }
void prop_ParsePath(object sender, ParsePathEventArgs e) { string strPath = ResPath.GetRegularRecordPath(e.Path); ResPath respath = new ResPath(strPath); e.DbName = respath.Url + "|" + respath.GetDbName(); }