winform (c#) 获取文件路径 OpenFileDialog ofd = new OpenFileDialog(); ofd.ShowDialog(); textBox1.Text = ofd.FileName;