string _path;
private void btnChoose_Click(object sender, EventArgs e)
{
//选择文件夹
FolderBrowserDialog path = new FolderBrowserDialog();
path.ShowDialog();
_path = path.SelectedPath;
MessageBox.Show(_path );
}
windorm选择文件夹
最新推荐文章于 2019-08-08 15:28:26 发布