private void Button_PatientSearch_Click(object sender, RoutedEventArgs e)
        {
            PatientSearch patientSearch = new PatientSearch();

            if (patientSearch.ShowDialog() == true)
            {
                imageTransferIntoViewModel.TargetPatients = patientSearch.Patients;
            }
        }
示例#2
0
        private void MenuItem_PatientSearch_Click(object sender, RoutedEventArgs e)
        {
            PatientSearch patientSearch = new PatientSearch();

            if (patientSearch.ShowDialog() == true)
            {
                Patients            = patientSearch.Patients;
                MainContent.Content = new PatientInformation(Agencys, Patients);
            }
        }