LagAbuse.com

Unofficial Section => Programming => Topic started by: JokeBOx on February 07, 2012, 22:30

Title: [TuTuRiAL] Simple Login System in VB.Net
Post by: JokeBOx 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