private void Form1_Load(object sender, EventArgs e) { Introduction introForm = new Introduction(); introForm.ShowDialog(); colorTheme = DEFAULT; pb.BackColor = colorTheme.GetBackground(); game = new Game(new SolidBrush(colorTheme.GetForeground()), ROWS, COLUMNS, CELL_WIDTH); game.InitialGeneration(); generationTimer.Start(); }
private void lightToolStripMenuItem_Click(object sender, EventArgs e) { colorTheme = LIGHT; ChangeTheme(); Refresh(); }
private void terminalToolStripMenuItem_Click(object sender, EventArgs e) { colorTheme = TERMINAL; ChangeTheme(); Refresh(); }
private void darkToolStripMenuItem_Click(object sender, EventArgs e) { colorTheme = DARK; ChangeTheme(); Refresh(); }