FolderBrowserDialog - Win32Exception occurred - The parameter is incorrect

前端 未结 3 2125
再見小時候
再見小時候 2021-02-14 23:09

I try to use the FolderBrowserDialog from WPF like this:

public static bool BrowseFolder(out string folderName)
{
   using (System.Windows.Forms.FolderBrowserDia         


        
3条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-15 00:12

    I would try doing it without using the "using" statement, perhaps it is getting cleaned up too quickly.

提交回复
热议问题