I wnat the msgbox show when the two PictureBoxs have the same Image !
This is the code that I have a problem with it !
and haw I can make the PictureBox Reset in code,I try this one but it doesn't work
This is the code that I have a problem with it !
VB.NET:
Private Sub Button1_Click(ByVal sender As system.Object, ByVal e As system.EventArgs) Handles Button1.Click
If PictureBox1.BackgroundImage = PictureBox2.BackgroundImage Then
MsgBox("ok")
End If
End Sub
and haw I can make the PictureBox Reset in code,I try this one but it doesn't work
VB.NET:
PictureBox1.BackgroundImage.Reset()