The title states it all, I even tried adding using System.Windows.Forms
but it still tells me that FolderBrowserDialog
is not found.
Anything I can do? Any other way I can browse for directories?
The title states it all, I even tried adding using System.Windows.Forms
but it still tells me that FolderBrowserDialog
is not found.
Anything I can do? Any other way I can browse for directories?
您还需要添加对System.Windows.Forms.dll
.
您可以在以下文档中看到这一点FolderBrowserDialog
:
命名空间:System.Windows.Forms
程序集:System.Windows.Forms(在 System.Windows.Forms.dll 中)
命名空间是您通过添加using
的,程序集是需要引用的。