Answers for "switch pictures with buttons vb.net"

VBA
0

switch pictures with buttons vb.net

Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
	PictureBox1.Tag = Not CBool(PictureBox1.Tag)
	PictureBox1.Image = If(CBool(PictureBox1.Tag), My.Resources.[Picture 1], My.Resources.[Picture 2])
End Sub
Posted by: Guest on September-04-2020

Code answers related to "VBA"

Browse Popular Code Answers by Language