Example #1
0
 internal static void LoadPatientProfile(Views.PatientManagementView managementForm, string id, string name, string dob, string address)
 {
     Views.PatientProfileView patientProfile = new Views.PatientProfileView(id, name, dob, address);
     managementForm.Hide();
     patientProfile.Closed += (senderObj, EventArgs) => managementForm.Close();
     patientProfile.Show();
 }
Example #2
0
 public static void LoadMenu(Views.PatientManagementView patientManagement)
 {
     Views.MainMenu menu = new Views.MainMenu();
     patientManagement.Hide();
     menu.Closed += (senderObj, EventArgs) => patientManagement.Close();
     menu.Show();
 }