private void queenBee_Click(object sender, EventArgs e) { if (!isPlayling) { BegginingStates.QueenBee(grid, gameOfLife, pictureBox1); } else { this.tab = BegginingStates.QueenBee(grid, this.tab); clickedButton = true; } }
private void oscliatorButton_Click(object sender, EventArgs e) { if (!isPlayling) { BegginingStates.Oscilator(grid, gameOfLife, pictureBox1); } else { this.tab = BegginingStates.Oscilator(grid, this.tab); clickedButton = true; } }