编程很好玩!
编程很好玩!

导航

 

2010年2月5日

摘要: //获取应用程序的当前工作目录。string path = System.IO.Directory.GetCurrentDirectory();//获取启动了应用程序的可执行文件的路径,不包括可执行文件的名称string str1 = Application.StartupPath//获取启动了应用程序的可执行文件的路径,包括可执行文件的名称。string str2 = Application.E... 阅读全文
posted @ 2010-02-05 15:59 lzp 阅读(670) 评论(0) 推荐(0) 编辑
 
摘要: string path = System.IO.Directory.GetCurrentDirectory();//获取应用程序的当前工作目录。 string str1 = Application.StartupPath;//获取启动了应用程序的可执行文件的路径,不包括可执行文件的名称 string str2 = Application.ExecutablePath;//获取启动了应用程序的可执行... 阅读全文
posted @ 2010-02-05 15:58 lzp 阅读(153) 评论(0) 推荐(0) 编辑