private void TimeIsUp() { ExamTimer.Stop(); MessageBox.Show("Time's up!", "Time has elapsed", MessageBoxButtons.OK); CallResultsForm(); }
private void InitiateTimer() { ExamTimer.Interval = 2000; ExamTimer.Tick += new EventHandler(ExamTimer_Tick); ExamTimer.Start(); }