Object Oriented Analysis & Design
Project Topic:
Hospital Management System
By :
Mayur Kabra Roll No: 16 Anchal Katyal Roll No: 19 Prajacta Khopkar Roll No:22
Login Form
Private Sub cmdCancel_Click() LoginSucceeded = False [Link] End Sub Private Sub cmdOK_Click() If txtPassword = "1234" Then LoginSucceeded = True [Link] [Link] Else MsgBox "Invalid Password, try again!", , "Login" [Link] SendKeys "{Home}+{End}" End If End Sub
Main Form
Private Sub About_Click() About_us.Show End Sub Private Sub Allocate_Ward_Click() [Link] End Sub Private Sub Appointment_Click() [Link] End Sub Private Sub Exit_Click() If MsgBox("Do you really want to exit?", vbYesNo, "PAM Hospital Management System") = vbYes Then Unload Main End If End Sub Private Sub List_of_medicines_Click() [Link] End Sub Private Sub Patient_List_Click() [Link] End Sub Private Sub Print_Bill_Click() [Link] End Sub
Appointment Form
Private Sub Command1_Click() [Link] [Link]!patient_name = [Link] [Link]!contact_no = [Link] [Link]!blood_group = [Link] [Link]!remarks = [Link] [Link]!consulting = [Link] [Link] End Sub Private Sub Command2_Click() [Link] = "" [Link] = "" [Link] = "" [Link] = "" End Sub
Patient List
Ward Allocation
Private Sub go_Click() Dim x As String x = [Link] Dim y As String y = [Link] Dim z As String z = [Link] [Link] [Link] [Link]!room_no = x [Link]!room_type = y [Link]!allocated_to = z [Link] End Sub
List Of Medicines
Billing
Private Sub print_Click() PrintForm End Sub
About Us
Private Sub cmdOK_Click() Unload Me End Sub
Exit
Private Sub Exit_Click() If MsgBox("Do you really want to exit?", vbYesNo, "PAM Hospital Management System") = vbYes Then Unload Main End If End Sub