// //Initializes the Bookmarks array // public Bookmark[] initializeBookmarksArray(Bookmark [] b) { for (int i = 0; i < b.Length; i++) { b[i] = new Bookmark(); b[i].question_No = i + 1; b[i].status = false; } return b; }
// //Accepts and assigns Question, Answers, Bookmark array, index, time left, Employee and Exam Details // public MatchTheColumnTest(Questions[] que, Answers[] ans, Bookmark[] b1, int ind, int timeleft1, Employee e, Exam_Details exd) { InitializeComponent(); q = que; a = ans; index = ind; b = b1; timeLeft = timeleft1; emp = e; ed = exd; }
// //Accepts and assigns Question, Answers, Bookmark array, index, time left, Employee and Exam Details // public PictureQuestionSingleAns(Questions[] que, Answers[] ans, Bookmark[] b1, int ind, int timeleft1, Employee e, Exam_Details exd) { InitializeComponent(); q = que; a = ans; b = b1; index = ind; timeLeft = timeleft1; emp = e; ed = exd; }