private void button7_Click(object sender, EventArgs e) { //this.Hide(); //frm_select_exam_2 frm_select_exam_2 = new frm_select_exam_2(); //frm_select_exam_2.StartPosition = FormStartPosition.CenterScreen; //frm_select_exam_2.Show(); this.Hide(); frm_select_exam frm_select_exam = new frm_select_exam(); frm_select_exam.StartPosition = FormStartPosition.CenterScreen; frm_select_exam.Show(); }
private void rEVIEWEXAMToolStripMenuItem_Click(object sender, EventArgs e) { class_Application.review_flag = 0; frm_select_exam frm_select_exam = new frm_select_exam(); frm_select_exam.StartPosition = FormStartPosition.CenterScreen; frm_select_exam.Show(); }
//--opening the exam selection combobox---> private void startExamToolStripMenuItem_Click(object sender, EventArgs e) { class_Application.REVIEW = 0; frm_select_exam frm_select_exam = new frm_select_exam(); frm_select_exam.MdiParent = this; frm_select_exam.StartPosition = FormStartPosition.CenterScreen; frm_select_exam.Show(); }