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); }
internal void ShowExam(Exam exam) { this.questionDocument.Document = BaseObjectToFlowDocument.CreateExamFlowDocument(exam, true, true); }