本文介绍了" SelectFolderDialog"在.NET中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有 SelectFolderDialog 在.NET中,但它的存在本身的Visual Studio 2010



我在想,如果有喜欢这种形式的任何外部.NET组件



下面是VS2010对话框:





请注意,我不希望使用的,然后我需要在 SelectFolderDialog

解决方案

要获得豪华的新的那么我相信你需要或者:




  1. 使用第三方组件,或

  2. 使用本机 IFileDialog 部分。



选项2是很容易的使用。您需要包括选项。该CodePack带有很多例子。我把它推荐给你。


There is no SelectFolderDialog in .NET but It is present itself in Visual Studio 2010.

I was wondering if there is any external .net component like this form.

Here is the VS2010 Dialog :

Please Note that I dont want to use the FolderBrowserDialog and I need to get the Specific UI described in the SelectFolderDialog

解决方案

To gain access to the posh new Vista folder selection dialog then I believe that you need to either:

  1. Use a third party component, or
  2. Use the native IFileDialog component.

Option 2 is easy enough using the Windows API CodePack. You need to include the FOS_PICKFOLDERS option. The CodePack comes with lots of examples. I commend it to you.

这篇关于" SelectFolderDialog"在.NET中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-27 02:25
查看更多