.NET Practical Slip 13 Q A

Slip 13 Q.A) Problem Statement

Q. Write a VB.NET program for blinking an image. 15 Marks

Answer:

Public Class Form1
    Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
        If PictureBox1.Visible = True Then
            PictureBox1.Visible = False
        Else
            PictureBox1.Visible = True
        End If
    End Sub
End Class

Helpful Links

Spread the love

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top