internal void ShowExam(Exam exam)
 {
     this.exam = exam;
     this.Dispatcher.BeginInvoke(new ThreadStart(() =>
     {
         this.questionDocument.Document = BaseObjectToFlowDocument.CreateExamFlowDocument(exam, this.showAnswerCheckBox.IsChecked.Value, this.showResponseCheckBox.IsChecked.Value);
     }),
                                 DispatcherPriority.Background,
                                 null);
 }
示例#2
0
 internal void ShowExam(Exam exam)
 {
     this.questionDocument.Document = BaseObjectToFlowDocument.CreateExamFlowDocument(exam, true, true);
 }