System.Windows.Forms.FolderBrowserDialog folder = new System.Windows.Forms.FolderBrowserDialog();
if (folder.ShowDialog() == DialogResult.OK)C# 打开以对话框,获取文件夹路径 、文件的路径、文件名
最新推荐文章于 2023-11-29 10:51:07 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
System.Windows.Forms.FolderBrowserDialog folder = new System.Windows.Forms.FolderBrowserDialog();
if (folder.ShowDialog() == DialogResult.OK)