c# path 获取

String Path = Application.StartupPath.Substring(0, Application.StartupPath.Substring(0, Application.StartupPath.LastIndexOf(“\\”)).LastIndexOf(“\\”));
Path += @”\1.bmg”;

String Path2 = Application.StartupPath.Substring(0, Application.StartupPath.Substring(0, Application.StartupPath.LastIndexOf(“\\”)).LastIndexOf(“\\”));
Path2 += @”\1.bmg”;

分类:

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注