コード例 #1
0
 private void ReplyWeiboButton_Tapped(object sender, TappedRoutedEventArgs e)
 {
     PostWeiboNaviParamContainer a = new PostWeiboNaviParamContainer();
     Weibo weibo = (Weibo)(sender as Button).DataContext;
     a.PostType = "replyrepost";
     a.WeiboID = weibo.ID;
     NavigationService.NaivgateToPage(typeof(NewPostView), a);
 }
コード例 #2
0
 private void replyButton_Tapped(object sender, TappedRoutedEventArgs e)
 {
     PostWeiboNaviParamContainer a = new PostWeiboNaviParamContainer();
     Comment comment = (Comment)(sender as Button).DataContext;
     a.PostType = "replycomment";
     a.CommentID = comment.ID;
     a.WeiboID = comment.Status.ID;
     NavigationService.NaivgateToPage(typeof(NewPostView), a);
 }