Exemple #1
0
        private void btnSubmit_Click(object sender, EventArgs e)
        {
            timeCountDown.Stop();
            getInfo.baiDaThiTemp = listBaiThi;
            this.Close();
            Software.fmain.vaoPhongThi(true);
            frmKetQuaThi frm = new frmKetQuaThi();

            frm.StartPosition = FormStartPosition.CenterScreen;
            frm.Show();
        }
Exemple #2
0
 private void btnExit_Click(object sender, EventArgs e)
 {
     if (MessageBox.Show("Bạn có chắc muốn thoát mà chưa nộp bài thi?", "LƯU Ý, BẠN ĐANG THI", MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.Yes)
     {
         timeCountDown.Stop();
         getInfo.baiDaThiTemp = listBaiThi;
         this.Close();
         Software.fmain.vaoPhongThi(true);
         frmKetQuaThi frm = new frmKetQuaThi();
         frm.StartPosition = FormStartPosition.CenterScreen;
         frm.Show();
     }
 }