示例#1
0
        private void CreateScanBagSections()
        {
            if (_patient == null)
            {
                return;
            }
            if (!_patient.Studies.Any())
            {
                return;
            }

            foreach (Study s in Patient.Studies.Where(x => x.Deleted == false))
            {
                ScanBagSection sec = new ScanBagSection(s);
                ScanBagSections.Add(sec);
                sec.ScanBag = this;
            }
        }
示例#2
0
 public UploadFileViewModel(ScanBagSection sec)
 {
     _scanbagSection   = sec;
     ChooseFileCommand = new RelayCommand(ChooseFile);
     UploadFileCommand = new RelayCommand(uploadFile);
 }