Exemplo n.º 1
0
 //Repeat the level
 private void repeatLevel(bool colorSetting)
 {
     var nextForm = new ReadAudioForm(readPhase, lvlStr);
     nextForm.FormClosed += (s, args) => this.Close();
     nextForm.setColorBlind(colorSetting);
     nextForm.Show();
 }
Exemplo n.º 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 ReadAudioForm(readPhase, updateLevel(lvlStr));
     nextForm.FormClosed += (s, args) => this.Close();
     nextForm.setColorBlind(isColorBlind);
     nextForm.Show();
 }