'System.Windows.Forms.FolderBrowserDialog' is a type not a namespace

后端 未结 6 430
眼角桃花
眼角桃花 2020-12-22 02:29

It is possible that I\'m missing something very obvious but now I can not see now. I have the reference to System.Windows.Forms and I have the next using<

6条回答
  •  我在风中等你
    2020-12-22 03:11

    It seems that System.Windows.Forms.FolderBrowserDialog is not a namespace but rather a class that is part of the namespace System.Windows.Forms.

    The *.Forms.FolderBrowserDialog is a class located within that namespace. Here is an example of how it should be used. (example is at the bottom of the page)

提交回复
热议问题