Form1.
cs
using System;
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
namespace HospitalManagementSystem
public partial class Form1 : Form
public Form1()
InitializeComponent();
private void button1_Click(object sender, EventArgs e)
if ([Link] == "admin" || [Link] == "pass")
[Link]("Welcome Admin. You are logged in successfully.");
[Link] = false;
Home obj1 = new Home();
[Link]();
[Link] = "";
[Link] = "";
else
[Link]("Invalid Username Or Password.");
[Link]
using System;
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
namespace HospitalManagementSystem
{
public partial class Home : Form
public Home()
InitializeComponent();
private void patientRegistrationToolStripMenuItem_Click(object sender, EventArgs e)
PatientRegistration obj = new PatientRegistration();
[Link]();
private void patientInformationToolStripMenuItem_Click(object sender, EventArgs e)
PatientInformation obj1 = new PatientInformation();
[Link]();
private void checkoutToolStripMenuItem_Click(object sender, EventArgs e)
PatientCheckOut obj2 = new PatientCheckOut();
[Link]();
}
private void roomInfoToolStripMenuItem_Click(object sender, EventArgs e)
RoomInfo obj3 = new RoomInfo();
[Link]();
private void addStaffToolStripMenuItem_Click(object sender, EventArgs e)
StaffInformation obj4 = new StaffInformation();
[Link]();
private void viewCheckoutToolStripMenuItem_Click(object sender, EventArgs e)
ViewwPatientCheckOut obj5 = new ViewwPatientCheckOut();
[Link]();
private void closeApplicationToolStripMenuItem_Click(object sender, EventArgs e)
[Link]();