2009年7月19日

winform相对路径

摘要: string path = System.IO.Directory.GetCurrentDirectory();//获取应用程序的当前工作目录。 string str1 = Application.StartupPath;//获取启动了应用程序的可执行文件的路径,不包括可执行文件的名称 string str2 = Application.ExecutablePath;//获取启动... 阅读全文

posted @ 2009-07-19 10:44 未完待续 阅读(3715) 评论(1) 推荐(0) 编辑

导航