コード例 #1
0
 //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();
 }
コード例 #2
0
        //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();
        }
コード例 #3
0
        //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();
        }
コード例 #4
0
 //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();
 }