c#_按钮打开选择文件的提示框
this.openFileDialog1.Filter = "*.*";
if (this.openFileDialog1.ShowDialog() == DialogResult.OK)
{
string FileName = this.openFileDialog1.FileName;
// 你的bai 处理du文件路径zhi代码dao
}