Ejemplo n.º 1
0
        public override void Execute()
        {
            if (StudyList.SelectedStudy == null)
            {
                return;
            }
            if ((StudyList.SelectedStudy as Study).Report == null)
            {
                return;
            }

            StudyReportViewModel viewModel = new StudyReportViewModel((StudyList.SelectedStudy as Study).Report);

            DesktopApplication.MakeModalDocument(viewModel);
        }
Ejemplo n.º 2
0
        protected override void Execute()
        {
            base.Execute();
            if (Whiteboard.SelectedAppointment == null)
            {
                return;
            }
            if ((Whiteboard.SelectedAppointment as Appointment).Study.Report == null)
            {
                return;
            }
            StudyReportViewModel viewModel = new StudyReportViewModel((Whiteboard.SelectedAppointment as Appointment).Study.Report);

            DesktopApplication.MakeModalDocument(viewModel);
        }
Ejemplo n.º 3
0
 public ReportScanBagItem(StudyReport rep)
 {
     rvm = new StudyReportViewModel(rep);
 }