string NameFile;
if (this.openFileDialog1.ShowDialog() == DialogResult.OK)
{
NameFile = this.openFileDialog1.FileName;
if (NameFile != "")
{
this.pictureBox1.Image = Image.FromFile(NameFile);
}
}
}
private void 打开文本文件ToolStripMenuItem_Click(object sender, EventArgs e)
{
string Filename;
pictureBox1.Visible = false;
if (this.openFileDialog1.ShowDialog() == DialogResult.OK)
本文来自电脑杂谈,转载请注明本文网址:
https://www.pc-fly.com/a/jisuanjixue/article-29694-2.html
台湾渔民敢去那捕鱼吗
你家赵薇呢
出去看看大千世界
对啊