예제 #1
0
 //接收登录时传输过来的用户信息
 protected override void OnNavigatedTo(NavigationEventArgs e)
 {
     user = (User)e.Parameter;
     if (e.NavigationMode == NavigationMode.New)
     {
         contentFrame.Navigate(typeof(Page1),user);
     }
     base.OnNavigatedTo(e);
 }
예제 #2
0
 protected override void OnNavigatedTo(NavigationEventArgs e) //接收登录时传输过来的用户信息
 {
     user = (User)e.Parameter;
 }