string path = Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory);

生成的运行bin文件下的路径:AppDomain.CurrentDomain.BaseDirectory

相关文章: