Beispiel #1
0
        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);
        }
Beispiel #2
0
 private void BTNreply_Click(object sender, RoutedEventArgs e)
 {
     FindName(nameof(RBcomment));
     RBcomment.Show(CurHoleInfo.pid);
 }