Ui Design & Coding: Class: Date of Performance: Date of Submission: Grade: Sign
Ui Design & Coding: Class: Date of Performance: Date of Submission: Grade: Sign
Name:
Class:
Date of performance:
Date of submission:
Grade:
Sign:
Login Form
coding
Option Explicit
End
End Sub
Private Sub cmdOK_Click()
LoginSucceeded = True
Me.Hide
Else
txtPassword.SetFocus
SendKeys "{Home}+{End}"
End If
End Sub
New user form
Coding
Option Explicit
End
End Sub
Call validate_data
If flagvalidate Then
rsUsers.AddNew
rsUsers!UserName = txtUserName.Text
rsUsers!Password = txtPassword.Text
rsAlternateEmail!Type = cmbusertype.Text
rsUsers.Update
rsUsers.Close
End If
End Sub
flagvalidate = False
End Sub
flagvalidate = True
flagvalidate = False
Exit Sub
End If
MsgBox "The two passwords must be same. Please type them again"
txtPassword.SetFocus
Exit Sub
End If
End Sub
Control panel –user interface
Coding
Option Explicit
frmReservation.Show
End Sub
frmInquiry.Show
End Sub
frmPayement.Show
End Sub
frmCancellation.Show
End Sub
frmPrintTicket.Show
End Sub
frmExit.Show
End Sub
flagvalidate = False
End Sub