标签: '相对路径'

Winform 获取相对路径 C# ///获取相对路径///例如:System.Windows.Forms.Application.StartupPath = "E:\App\CheckingMachine\QueryMachine\bin\Debug"/// 经过以下处理将返回"E:\App\CheckingMachine\QueryMachine\images\1.gif"string path=System.Windows.Forms.Application.StartupPath + @"../../"; System.IO.D… http://jianfangkk.cn/aspnet/201409/162
二维码
意见反馈 二维码