Home > Backend Development > C#.Net Tutorial > Details of C# select directory dialog box FolderBrowserDialog

Details of C# select directory dialog box FolderBrowserDialog

黄舟
Release: 2017-03-02 11:56:36
Original
2401 people have browsed it

Show() This window opens an interface similar to the resource manager.

FolderBrowserDialog folderDlg = new FolderBrowserDialog();
folderDlg.ShowDialog();
MessageBox.Show(folderDlg.SelectedPath);
Copy after login

As shown in the picture, you can also create a new folder. good.

The above is the details of the C# selection directory dialog box FolderBrowserDialog. For more related content, please pay attention to the PHP Chinese website (www.php.cn)!


source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template