Beispiel #1
0
        private void Duan_Tucao_Click(object sender, RoutedEventArgs e)
        {
            var b    = sender as Button;
            var duan = b.DataContext as Duan;

            CommentControl.Update(duan.DuanID);
            DuanSplitView.IsPaneOpen = true;
            CommentControl.SetFocus();
        }
Beispiel #2
0
        private void DuanViewComment_Click(object sender, RoutedEventArgs e)
        {
            var b  = sender as Button;
            var bp = b.DataContext as BoringPic;

            CommentControl.Update(bp.PicID);
            DuanSplitView.IsPaneOpen = true;
            CommentControl.SetFocus();
        }