Author Topic: [TuTuRiAL] Simple Login System in VB.Net  (Read 1854 times)

Offline JokeBOx

  • Advanced Member
  • *
  • Topic Author
  • Posts: 206
  • Karma: +8/-27
  • HELLO!!!!!!!!!!!!!!!
  • Awards Winner of 1 Photoshop Challenge Contest [COMMON]
    • View Profile
    • Awards
[TuTuRiAL] Simple Login System in VB.Net
« on: February 07, 2012, 22:30 »
Simple login System

Ok guys, code is here :) GOOD LUCK

Code: [Select]
Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        If TextBox1.Text = "a" And TextBox2.Text = "b" Then
            MessageBox.Show("Login Accepted!")
            Form2.Show()
            Me.Hide()
        Else
            MessageBox.Show("Login denied!")
        End If
    End Sub

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)

    End Sub

    Private Sub Form1_Load_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    End Sub
End Class