Example #1
0
        public void NovigateTo(Frame frame, Page page)
        {
            Frame old = ContentFrame;

            ContentFrame = frame;
            NavigateTo(page);
            ContentFrame = old;
        }
Example #2
0
        public void NavigateTo(Page page)
        {
            switch (page)
            {
            case Page.Home:
                ContentFrame.Navigate(typeof(HomeView));
                break;

            case Page.History:
                ContentFrame.Navigate(typeof(HistoryView));
                break;

            case Page.SignIn:
                ContentFrame.Navigate(typeof(LoginView));
                break;
            }
        }