You are on page 1of 1

Public Class Form1

Private Sub PictureBox2_MouseHover(sender As Object, e As EventArgs) Handles


PictureBox2.MouseHover
PictureBox2.Visible = False
PictureBox1.Visible = True
End Sub
Private Sub PictureBox1_MouseLeave(sender As Object, e As EventArgs) Handles
PictureBox1.MouseLeave
PictureBox2.Visible = True
PictureBox1.Visible = False
End Sub
End Class

You might also like