通过nuget安装包:Microsoft.WindowsAPICodePack-Shell
CommonOpenFileDialog dialog = new CommonOpenFileDialog();
dialog.IsFolderPicker = true;
dialog.ShowDialog();
效果:
通过nuget安装包:Microsoft.WindowsAPICodePack-Shell
CommonOpenFileDialog dialog = new CommonOpenFileDialog();
dialog.IsFolderPicker = true;
dialog.ShowDialog();
效果: