private void LSTVWcomment_ItemClick(object sender, ItemClickEventArgs e) { String reply_to; if ((e.ClickedItem as CommentInfo).Islz) { reply_to = "Reply to 洞主:"; } else { reply_to = "Reply to #" + (e.ClickedItem as CommentInfo).Cid.ToString() + ":"; } FindName(nameof(RBcomment)); RBcomment.Show(CurHoleInfo.pid, reply_to); }
private void BTNreply_Click(object sender, RoutedEventArgs e) { FindName(nameof(RBcomment)); RBcomment.Show(CurHoleInfo.pid); }