-1
Private Sub Btnlog_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Btnlog.Click
If txtuser.Text = "Manish" And txtpw.Text = "Nair" Then
MessageBox.Show("welcome")
Else
MessageBox.Show("Try again")
count= count() + 1
If count = 3 Then
Me.Close()
End If
End If
End Sub