You are on page 1of 5

4.

Login Page
Coding:-

Public Class Form1


Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button1.Click
If ((TextBox1.Text) = (TextBox2.Text)) Then
Me.Visible = False
Form2.Show()
Else
MsgBox("UserName and password is incorrect")
TextBox1.Text = ""
TextBox2.Text = ""
End If
End Sub
End Class

Public Class Form2


Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button1.Click
Form1.Show()
Form1.TextBox1.Text = ""
Form1.TextBox2.Text = ""
Me.Visible = False
End Sub
End Class
DATA FLOW DIAGRAM

Level-0
Transpor
ADMIN/USER Valid t Service Store BUS _DB
Necessit
Unauthenticated ies Retrieve
DATA FLOW DIAGRAM

Level-1
Logi
Admin Valid Store Not Authenticate
n
Password Unauthenticated Retrieve

Add Bus
Success Login Timing send Timing _DB
Details

Receive

Add Bus
Bus BUS _DB
Details
Information

Hotel
Hotel Hotel _DB
Details
Information

Searching
Process Information
Search _DB

Report

You might also like