Skip to main content

Write a Vb.net program for blinking an image

· One min read
Kaustubh Kulkarni
file.vb
  
PublicClass Form1
PrivateSub Timer1_Tick(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Timer1.Tick
If PictureBox1.Visible = TrueThen
PictureBox1.Visible = False
Else
PictureBox1.Visible = True
EndIf
EndSub
EndClass