Example #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            if (volume)
            {
                MusicManagers.playSound();
            }
            TestManager testManager = new TestManager(false);

            if (Counter != CorrectOrder.Count && Counter != 100)
            {
                InfoForm iform = new InfoForm("Остались незаполненные слова!", volume);
                iform.Show();
                return;
            }
            else
            {
                answer = true;
                right  = testManager.CheckIsUserRight(UserWords, CorrectOrder);
            }
            DialogResult = DialogResult.OK;
        }