Beispiel #1
0
        private void  watchTime()
        {
            Boolean timerunout = true;

            while (timerunout)
            {
                if (timeControlText.Text == "0")
                {
                    ResultForm resultform = new ResultForm(data.CorrectCount, data.Count, data.calculateCorrectRate);
                    resultform.ShowDialog();
                    textBox3.Enabled = false;
                    break;
                }
                else
                {
                    continue;
                }
            }
        }
Beispiel #2
0
        public static void showResult(int correct, int total, float correctrate)
        {
            ResultForm resultform = new ResultForm(correct, total, correctrate);

            resultform.Show();
        }