Пример #1
0
        //Repeat the level
        private void repeatLevel(bool colorSetting)
        {
            var nextForm = new ReadAudioForm2(readPhase, lvlStr);

            nextForm.FormClosed += (s, args) => this.Close();
            nextForm.setColorBlind(colorSetting);
            nextForm.Show();
        }
Пример #2
0
        //If it's a new level
        private void newLevel(bool colorSetting)
        {
            //---save progress of the current level by marking, solved
            var nextForm = new ReadAudioForm2(readPhase, updateLevel(lvlStr));

            nextForm.FormClosed += (s, args) => this.Close();
            nextForm.setColorBlind(isColorBlind);
            nextForm.Show();
        }
Пример #3
0
 //Repeat the level
 private void repeatLevel(bool colorSetting)
 {
     var nextForm = new ReadAudioForm2(readPhase, lvlStr);
     nextForm.FormClosed += (s, args) => this.Close();
     nextForm.setColorBlind(colorSetting);
     nextForm.Show();
 }
Пример #4
0
 //If it's a new level
 private void newLevel(bool colorSetting)
 {
     //---save progress of the current level by marking, solved
     var nextForm = new ReadAudioForm2(readPhase, updateLevel(lvlStr));
     nextForm.FormClosed += (s, args) => this.Close();
     nextForm.setColorBlind(isColorBlind);
     nextForm.Show();
 }