Easy and Simple Image Rollovers

Do you know of any tutorial videos online that offer help with programming or have you made a helpfull video then please share them in here.
1 post Page 1 of 1
Contributors
User avatar
mikethedj4
VIP - Site Partner
VIP - Site Partner
Posts: 2592
Joined: Thu Mar 25, 2010 4:36 am

Easy and Simple Image Rollovers
mikethedj4
Code: Select all
Public Class Form1 
   Private Sub PictureBox2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 
       PictureBox2.Visible = False 
   End Sub 

   Private Sub PictureBox1_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox1.MouseMove 
       PictureBox1.Visible = False 
       PictureBox2.Visible = True 
   End Sub 

   Private Sub PictureBox2_MouseLeave(ByVal sender As Object, ByVal e As System.EventArgs) Handles PictureBox2.MouseLeave 
       PictureBox1.Visible = True 
       PictureBox2.Visible = False 
   End Sub 

   Private Sub PictureBox2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox2.Click 
       Me.Close() 
   End Sub 
End Class
1 post Page 1 of 1
Return to “Videos”