Loading

获取bin目录

System.AppDomain.CurrentDomain.SetupInformation.ApplicationBase;//获取bin\Debug\目录
System.AppDomain.CurrentDomain.BaseDirectory;//获取bin\Debug\目录
System.Environment.CurrentDirectory;//获取bin\Debug目录
System.IO.Directory.GetCurrentDirectory();//获取bin\Debug目录
System.Windows.Forms.Application.StartupPath;//获取bin\Debug目录
System.Windows.Forms.Application.ExecutablePath;//获取bin\Debug\程序.exe
posted @ 2018-12-03 10:13  WeiYongZhi  阅读(479)  评论(0编辑  收藏  举报