コード例 #1
0
 internal static void LoadPatientManagement(MainMenu mainMenu)
 {
     Views.PatientManagementView patientManagement = new Views.PatientManagementView();
     mainMenu.Hide();
     patientManagement.Closed += (senderObj, EventArgs) => mainMenu.Close();
     patientManagement.Show();
 }
コード例 #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();
 }