Question How to change background image when mouse double click?

Mony Mony

Member
Joined
May 17, 2009
Messages
6
Programming Experience
Beginner
Hello,pls help,Im building a software but look,,I have some images at my resource folder..I cant make it when the mouse double click the form the background image changes,,,I can make one image to change when u double click the form..example:

Form1_MouseDoubleClick
Me.BackgroundImage = My.Resources.Image1

-----------------------------------------------
Now I want to make it to change more images within the resource folder
pls help this is very important to me
Best wishes
Mony
 
VB.NET:
         Select Case Me.BackgroundImage 
            Case My.Resources.Image1
               Me.BackgroundImage = My.Resources.Image2
            Case My.Resources.Image2
               Me.BackgroundImage = My.Resources.Image3
            Case Else
               Me.BackgroundImage = My.Resources.Image1
         End Select
 
Back
Top