//測驗結束 public void FinishExamination(bool test) { const string PASS = "******"; const string OF = " of "; const string QUESTION = " question!!\n"; const string SCORE = "Your score is:"; if (_count == _questionAmount || test == true) { _timer.Stop(); MessageBox.Show(PASS + _check.GetCorrect() + OF + _count + QUESTION + SCORE + _score); Application.Exit(); } }