internal static void LoadPatientManagement(MainMenu mainMenu) { Views.PatientManagementView patientManagement = new Views.PatientManagementView(); mainMenu.Hide(); patientManagement.Closed += (senderObj, EventArgs) => mainMenu.Close(); patientManagement.Show(); }
internal static void BackToPatientManagement(Views.PatientProfileView patientProfile) { Views.PatientManagementView patientManagement = new Views.PatientManagementView(); patientProfile.Hide(); patientManagement.Closed += (senderObj, EventArgs) => patientProfile.Close(); patientManagement.Show(); }