VB.NET怎么用代码修改PictureBox控件中Image属性值

2024-11-25 06:29:02
推荐回答(1个)
回答1:

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
PictureBox1.Image = Image.FromFile("E:\wgc\2.jpg")
End Sub