OpenFileDialog openfile = new OpenFileDialog();
if (openfile.ShowDialog() == DialogResult.OK && (openFileDialog1.FileName != "") { picturebox1.ImageLocation = openfile.FileName; textbox.Text = openfile.FileName; } openfile.Dispose();本文共 285 字,大约阅读时间需要 1 分钟。
OpenFileDialog openfile = new OpenFileDialog();
if (openfile.ShowDialog() == DialogResult.OK && (openFileDialog1.FileName != "") { picturebox1.ImageLocation = openfile.FileName; textbox.Text = openfile.FileName; } openfile.Dispose();转载于:https://www.cnblogs.com/ACshasow/p/3253287.html