Browse for a directory in C#

后端 未结 6 585
一向
一向 2020-12-24 10:14

How can I present a control to the user that allows him/her to select a directory?

There doesn\'t seem to be any native .net controls which do this?

6条回答
  •  旧时难觅i
    2020-12-24 11:16

    You could just use the FolderBrowserDialog class from the System.Windows.Forms namespace.

提交回复
热议问题