Exemplo n.º 1
0
 private void button3_Click(object sender, EventArgs e)
 {
     if (!ValidateChildren()) return;
     SimpleSudoku s = new SimpleSudoku();
     s.StartPosition = FormStartPosition.CenterScreen;
     s.ShowDialog();
     s.timer.Stop();
     if (s.Score == null) s.Score = "Unfinished";
     scores.Add(new Score(KojaIgra.Sudoku,textBox1.Text.ToString(),s.Score));
 }