private void btnPreview_Click(object sender, EventArgs e) { try { PreviewDocUtils.PreviewCandidatePackage(QuestionSet); } catch (Exception) { MessageBox.Show(ConstantUtils.ErrorWordApp, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
// Preview entire the Questions List. private void previewBtn_Click(object sender, EventArgs e) { PreviewDocUtils.PreviewCandidatePackage(questionSet); }