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)
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/jisuanjixue/article-29694-2.html
芝麻粉本身就是熟了的
哈哈哈哈