摘要:
这个的方法有很多吧。1. 用PInvok调用Windows API的PathRelativePathTo2. 自行处理字符串3. 利用Uri前两种就不说了,觉得有点麻烦,想了解的同学,自已,百度Google一下吧。第3种,也没啥好说的,直接Code。 1 public static ... 阅读全文
摘要:
这个的方法有很多吧。1. 用PInvok调用Windows API的PathRelativePathTo2. 自行处理字符串3. 利用Uri前两种就不说了,觉得有点麻烦,想了解的同学,自已,百度Google一下吧。第3种,也没啥好说的,直接Code。 1 public static ... 阅读全文
|