OpenFileDialog obj = new OpenFileDialog();
if (obj.ShowDialog() == DialogResult.OK)
{
this.txtpath.Text = obj.FileName;
}
弹出打开窗口,将地址保存this.txtpath.Text
OpenFileDialog obj = new OpenFileDialog();
if (obj.ShowDialog() == DialogResult.OK)
{
this.txtpath.Text = obj.FileName;
}