#2
apull2022-05-06 23:01
|
我用这段代码,用于显示图像,运行时出现黄色警告,不知出什么错,
filename = Application.StartupPath + "Gefa.png";
PictureBox1.Image = Image.FromFile(filename);
图像放在了Resources中
PictureBox1.Image = Image.FromFile(filename);这条黄色。
哪位指点一下。