摘要:
privatestringGetCanUseName(stringnewName,stringoldName,intnum){if(!File.Exists(newName)){returnnewName;}else{//存在stringext=Path.GetExtension(oldName);stringnameInfo=oldName.Replace(ext,"");returnGetCanUseName(nameInfo+"_"+(++num)+ext,oldName,++num);}}privatevoidbutton1_Click(obje 阅读全文
posted @ 2014-01-23 14:18
pnljs
阅读(168)
评论(0)
推荐(0)

浙公网安备 33010602011771号