zoukankan      html  css  js  c++  java
  • 跳过一个页面转向

    已知: Page1  Page2  Page3

    question:  Page1——>Page2   then   Page2——(跳过Page1)——>Page3  How???

    answer: 

    Class Page1:PhoneApplicationPage

    {

      private void NavigateMethod()

      {

        NavigationService.Navigate(new Uri("/Page2.xaml",Urikind.Relactive));

      }

    }

    Class Page2:PhoneApplicationPage

    {

      private void NavigateMethod()

      {

        NavigationService.Navigated+=Navigation.NavigatedEventHandler(NavigationService_Navigated);

        NavigationService.GoBack();

      }

     void NavigationService_Navigated(object sender, System.Windows.Navigation.NavigationEventArgs e) 

         {

       NavigationService.Navigate(new Uri("/Page3.xaml",Urikind.Relactive));

      }

    }

    Class Page1:PhoneApplicationPage

    {

      private void NavigateMethod()

      {

        NavigationService.GoBack();

      }

    }

  • 相关阅读:
    windows cmd 编码
    ARM伪指令
    System.load 和 System.loadLibrary
    用GDB调试程序
    ARM指令集
    ARM寻址方式
    abortion
    Oxford City Jealous Lover
    everyday words
    【转】高效率的C++函数返回值
  • 原文地址:https://www.cnblogs.com/mokey/p/2306065.html
Copyright © 2011-2022 走看看