//If it's a new level public void newLevel(bool colorSetting) { this.Hide(); var nextForm = new WriteForm(writePhase, updateLevel(levelStr)); nextForm.FormClosed += (s, args) => this.Close(); nextForm.setColorBlind(isColorBlind); nextForm.Show(); }
//Repeat the level public void repeatLevel(bool colorSetting) { this.Hide(); var nextForm = new WriteForm(writePhase, levelStr); nextForm.FormClosed += (s, args) => this.Close(); nextForm.setColorBlind(colorSetting); nextForm.Show(); }