コード例 #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);
        }
コード例 #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);
        }