예제 #1
0
        private void ExecuteNav(NavType navType)
        {
            var type = navType.Type;
            var nav  = (App.Current as App).NavigationService;

            // navigate only to new pages
            if (nav.CurrentPageType != null && nav.CurrentPageType != type)
            {
                nav.Navigate(type, navType.Parameter);
            }
        }
예제 #2
0
        private void ExecuteNav(NavType navType)
        {
            var type = navType.Type;
            var nav = (App.Current as App).NavigationService;

            // navigate only to new pages
            if (nav.CurrentPageType != null && nav.CurrentPageType != type)
                nav.Navigate(type, navType.Parameter);
        }