winform 路径 AppDomain.CurrentDomain.BaseDirectory 获得应用程序根目录 假如你的项目在d:\项目名用AppDomain.CurrentDomain.BaseDirectory取得值就是d:\项目名\bin