Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27554

VS 2010 [Help request] Changing picture box image when clicked?

$
0
0
So what I've done with this:

" Private Sub PictureBox1_Click(sender As Object, e As EventArgs) Handles PictureBox1.Click
PictureBox1.BackgroundImage = LaneBot.My.Resources.Warding_Totem_active
End Sub"

is make it so when I click the picture box it changes the image.
Now could anyone tell me how I could make it return to the original image upon clicking it again?

Thanks for your time on such a novice request but feeedback will be greatly appreciated

Viewing all articles
Browse latest Browse all 27554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>