Exemplo n.º 1
0
        private void ImageAccess(object obj)
        {
            byte[][] currentObservationImages = obj as byte[][];

            View.PatientPictureView           window = new View.PatientPictureView();
            ViewModel.PatientPictureViewModel vm     = new PatientPictureViewModel(window, currentObservationImages);
            window.DataContext = vm;

            _ns = NavigationService.GetNavigationService(_linkedView);
            _ns.Navigate(window);
        }
Exemplo n.º 2
0
        private void ImageAccess(object obj)
        {
            byte[][] currentObservationImages = obj as byte[][];

            View.PatientPictureView window = new View.PatientPictureView();
            ViewModel.PatientPictureViewModel vm = new PatientPictureViewModel(window, currentObservationImages);
            window.DataContext = vm;

            _ns = NavigationService.GetNavigationService(_linkedView);
            _ns.Navigate(window);
        }