Visual Studio 2008 folder browser dialog

后端 未结 4 1475
闹比i
闹比i 2020-12-31 13:18

In Visual Studio 2008 there is a folder browser dialog that looks like this (very similar to file open dialog):

Does anyone know how to invoke it from code

4条回答
  •  孤城傲影
    2020-12-31 13:58

    If you're using C#, this solution is for you. Source code provided here: http://www.lyquidity.com/devblog/?p=136 (.NET Win 7-style folder select dialog).

    You don't need to use a whole library like VistaBridge, or a Windows API code pack, to get a nice Folder Dialogue, just two small source files. Gives you a nice folder dialogue like this:

提交回复
热议问题