MouseMove 切换图片
在VB.NET中的MouseMove事件怎么切换图片.刚开始用VB.NET,请大家帮帮忙只实现鼠标移动到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