转自:http://blog.sina.com.cn/s/blog_684910840101dqb7.html
this.folderBrowserDialog1.ShowDialog();
this.label1.Text = this.folderBrowserDialog1.SelectedPath;要用到FolderBrowserDialog
双击openFileDialog控件 写上Label1.Text = openFileDialog1.FileName.ToString();