// //On click of Proceed: Navigates to Feedback form // private void proceed_Click(object sender, EventArgs e) { //Gets the exam configuration Exam_DetailsBS edb = new Exam_DetailsBS(); ed = edb.getExamDetails(ed); if (ed.answer_Config == "Yes") { //Navigates to Check Solution Form CheckSolution f = new CheckSolution(q, a, emp, ed); f.MdiParent = this.MdiParent; f.Dock = DockStyle.Fill; this.Close(); f.Show(); } else if (ed.answer_Config == "No") { //Navigates to Feedback Form FeedbackForm fm8 = new FeedbackForm(emp, ed); fm8.MdiParent = this.MdiParent; fm8.Dock = DockStyle.Fill; this.Close(); fm8.Show(); } }
// //Navigates to Feedback Form // private void Proceed_Click(object sender, EventArgs e) { FeedbackForm fm8 = new FeedbackForm(emp, ed); fm8.MdiParent = this.MdiParent; fm8.Dock = DockStyle.Fill; this.Close(); fm8.Show(); }