Example #1
0
        private Control GetAddControl(Mark mark, String document)
        {
            MarkReview        review  = new MarkReview(mark, document);
            MarkReviewControl control = new MarkReviewControl();

            control.BindData(this);

            _markReviewList.Add(review);

            control.DataContext = review;

            return(control);
        }
        private Control GetAddControl(Mark mark, String document)
        {
            MarkReview review  = new MarkReview(mark,document);
            MarkReviewControl control = new MarkReviewControl();

            control.BindData(this);

            _markReviewList.Add(review);

            control.DataContext = review;

            return control;
        }