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);
 }
 private void showExercise()
 {
     this.questionDocument.Document = BaseObjectToFlowDocument.CreateExerciseFlowDocument(exercise,
                                                                                          this.showAnswerCheckBox.IsChecked.Value,
                                                                                          this.showResponseCheckBox.IsChecked.Value);
 }
예제 #3
0
 internal void ShowExam(Exam exam)
 {
     this.questionDocument.Document = BaseObjectToFlowDocument.CreateExamFlowDocument(exam, true, true);
 }