code exedr2

Public Class Exer2

Private Sub btnPlayNow_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPlayNow.Click
lblFullText.Visible = True
lblFullText.Text = “Welcome” & ” ” & txtfname.Text & ” ” & txtlname.Text & ” ” & “to What’s the Word!”

End Sub

Private Sub btnCheckAnswer_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCheckAnswer.Click

If txtAnswer.Text = “Fire” Then
lblOtherText.Visible = True
lblOtherText.Text = “Congratulations! You got the correct answer! Palakpakan!”

Else
lblOtherText.Visible = True
lblOtherText.Text = “Inccorect Answer! Please Try Again!”
End If

End Sub
End Class

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.