Beispiel #1
0
        private static void ShowExistingDataSet(object obj)
        {
            if (_ViewExistingDatasetViewModel != null)
            {
                ImageRepository repo = new ImageRepository();
                _ViewExistingDatasetViewModel.PatientsList = repo.generateTreeView(false);
                TreeViewGroupPatientsViewModel tvpv = new TreeViewGroupPatientsViewModel(_ViewExistingDatasetViewModel.PatientsList);

                _ViewExistingDatasetViewModel.TopLevelViewModel = tvpv;

                if (_ViewExistingDatasetViewModel.ListOfAlgorithms != null)
                {
                    _ViewExistingDatasetViewModel.ListOfAlgorithms.Clear();
                }

                if (_ViewExistingDatasetViewModel.TechniqueAlgorithms != null)
                {
                    _ViewExistingDatasetViewModel.TechniqueAlgorithms.Clear();
                }

                _ViewExistingDatasetViewModel.ImgUnprocessed = null;
                _ViewExistingDatasetViewModel.ImgProcessed   = null;
                _ViewExistingDatasetViewModel.ImageInfo      = "Please Select An Image To View Image Information Here.";

                OverallFrame.Content = _ViewExistingDatasetViewModel;
            }
        }
Beispiel #2
0
        private void GetPatientsFiltered()
        {
            ImageRepository repo = new ImageRepository();

            PatientsList = FilterTreeView.ApplyFilter();
            TreeViewGroupPatientsViewModel tvpv = new TreeViewGroupPatientsViewModel(PatientsList);

            TopLevelViewModel = tvpv;
        }
Beispiel #3
0
        private void GetPatientsForTreeview(object obj)
        {
            ImageRepository repo = new ImageRepository();

            PatientsList = repo.generateTreeView(_isSelected);
            TreeViewGroupPatientsViewModel tvpv = new TreeViewGroupPatientsViewModel(PatientsList);

            ImgUnprocessed = null;
            ImgProcessed   = null;
            ImageInfo      = "Please Select An Image To View Image Information Here.";

            TopLevelViewModel = tvpv;
        }