C#编程:获取当前系统桌面路径-10_彭世瑜_新浪博客

104 阅读1分钟

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

MessageBox.Show("桌面的路径是"+dir);