摘要: 由于在WinCE中不支持相对路径,同时很多在Winform中可以使用的方法在Wince中都不可用。今天用到,就上网查找了下。有这么几个方式获取根目录的文件string root = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().ManifestModule.FullyQualifiedName) + "\\Configure.xml";或者String CodePath = System.Reflection.Assembly.GetExecutingAss 阅读全文
posted @ 2013-05-08 12:25 Mark_ybh 阅读(1120) 评论(0) 推荐(0) 编辑