private void LoadDicom() { try { var dicomRepository = new DicomDataRepository(EHealthCareDesktopApp.Properties.Settings.Default.UniqueIdentifier); var patientDicom = dicomRepository.GetAllDicom(EHealthCareDesktopApp.Properties.Settings.Default.PatientID); listView.ItemsSource = patientDicom; } catch (Exception ex) { MessageBox.Show(ex.Message); } }
private void LoadDicom() { try { var dicomRepository = new DicomDataRepository(UniqueIdentifier); var patientDicom = dicomRepository.GetAllDicom(this.PatientId); listView.ItemsSource = patientDicom; } catch (Exception ex) { MessageBox.Show(ex.Message); } }