Esempio n. 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();
 }
Esempio n. 2
0
 internal static void BackToPatientManagement(Views.PatientProfileView patientProfile)
 {
     Views.PatientManagementView patientManagement = new Views.PatientManagementView();
     patientProfile.Hide();
     patientManagement.Closed += (senderObj, EventArgs) => patientProfile.Close();
     patientManagement.Show();
 }