Пример #1
0
        private void ClickObservation()
        {
            View.ObservationTableView           window = new View.ObservationTableView();
            ViewModel.ObservationTableViewModel vm     = new ObservationTableViewModel(window);
            window.DataContext = vm;

            _ns = NavigationService.GetNavigationService(_linkedView);
            _ns.Navigate(window);
        }
Пример #2
0
        private void ClickObservation()
        {
            View.ObservationTableView window = new View.ObservationTableView();
            ViewModel.ObservationTableViewModel vm = new ObservationTableViewModel(window);
            window.DataContext = vm;

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