:.NET CF 中如何得到应用程序的路径
原来在.NET中可以用Application.StartupPath获得,但是在CF中居然不支持
---------------------------------------------------------------
try:
using System.IO;
using System.Reflection;
string str = Path.GetDirectoryName(Assembly.GetExecutingAssembly().GetName().CodeBase);