Select either a file or folder from the same dialog in .NET

后端 未结 10 2119
别跟我提以往
别跟我提以往 2020-12-01 10:14

Is there an \"easy\" way to select either a file OR a folder from the same dialog?

In many apps I create I allow for both files or folders as input. Until now i alwa

10条回答
  •  余生分开走
    2020-12-01 11:03

    All of the built in dialogs use the shell API's that correspond to their action, PrintDialog, OpenFileDialog, SaveFileDialog, etc...

    You would most likely have to manually build this functionality.

提交回复
热议问题