window form获取获取程序目录:
AppDomain.CurrentDomain.BaseDirectory.ToString()
window moble form 获取获取程序目录:
Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase)
新闻标题:windowform和windowmobleform获取程序目录的区别
浏览地址:
http://mswzjz.cn/article/ijchis.html