想实现切换图片功能
我想在鼠标移到picturebox图片上时,换一张图片显示,怎么实现呀?急用,会者帮我一下,谢谢
Private Sub PictureBox1_MouseEnter(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox1.MouseEnter
Me.PictureBox1.Image = ImageList1.Images(0)
End Sub
Private Sub PictureBox1_MouseLeave(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox1.MouseLeave
Me.PictureBox1.Image = ImageList1.Images(1)
End Sub