Example #1
0
        /// <summary>
        /// Metoda nawiguj¹ca widokami, pozwala na wyœwietlnei wybranego widoku w danej chwili
        /// </summary>
        private static void SetupNavigation()
        {
            var navigationService = new MyNavigationService();

            navigationService.Configure("CreateBaseView", new Uri("../View/CreateBaseView.xaml", UriKind.Relative));
            navigationService.Configure("LoadBaseView", new Uri("../View/LoadBaseView.xaml", UriKind.Relative));
            navigationService.Configure("CreateBaseAddColumnsView", new Uri("../View/CreateBaseAddColumnsView.xaml", UriKind.Relative));
            SimpleIoc.Default.Register <IMyNavigationService>(() => navigationService);
        }
Example #2
0
        private static void SetupNavigation()
        {
            var navigationService = new MyNavigationService();

            navigationService.Configure("TrzyNaTrzyView", new Uri("../View/TrzyNaTrzyView.xaml", UriKind.Relative));
            navigationService.Configure("CzteryNaCzteryView", new Uri("../View/CzteryNaCzteryView.xaml", UriKind.Relative));
            navigationService.Configure("PiecNaPiecView", new Uri("../View/PiecNaPiecView.xaml", UriKind.Relative));
            navigationService.Configure("DisplayImageView", new Uri("../View/DisplayImageView.xaml", UriKind.Relative));
            SimpleIoc.Default.Register <IMyNavigationService>(() => navigationService);
        }
Example #3
0
        private static void SetupNavigation()
        {
            var navigationService = new MyNavigationService();

            navigationService.Configure("PatientView", new System.Uri("../View/PatientView.xaml", UriKind.Relative));
            navigationService.Configure("AddPatientView", new System.Uri("../View/AddPatientView.xaml", UriKind.Relative));
            navigationService.Configure("AddOrderView", new System.Uri("../View/AddOrderView.xaml", UriKind.Relative));
            navigationService.Configure("ChoiceView", new System.Uri("../View/ChoiceView.xaml", UriKind.Relative));
            navigationService.Configure("ChangePatientView", new System.Uri("../View/ChangePatientView.xaml", UriKind.Relative));
            navigationService.Configure("OrderView", new System.Uri("../View/OrderView.xaml", UriKind.Relative));
            navigationService.Configure("AddTestView", new System.Uri("../View/AddTestView.xaml", UriKind.Relative));
            navigationService.Configure("TestView", new System.Uri("../View/TestView.xaml", UriKind.Relative));
            SimpleIoc.Default.Register <IMyNavigationService>(() => navigationService);
        }