/// <summary>
/// 浏览文件夹
/// </summary>
/// <returns></returns>
private string BrowseFolder()
{
FolderBrowserDialog fld = new FolderBrowserDialog(); //c#实现的类,代码关键
// fld.ShowDialog();
if (fld.ShowDialog() == DialogResult .OK)
{
return fld.SelectedPath;
}
return string .Empty;
}