显示所选择文件的路径地址

private void simpleButtonSelectPath_Click(object sender, EventArgs e)
{
    FolderBrowserDialog fbd = new FolderBrowserDialog();
    fbd.SelectedPath = "D:"; //默认路径
    if (fbd.ShowDialog() == DialogResult.OK)
    {
        textEditVoiceFilePath.Text = fbd.SelectedPath;

    }
}
原文地址:https://www.cnblogs.com/ShaYeBlog/p/4843823.html