private void nextbutton_Click(object sender, EventArgs e)
        {
            state = state.nextState();
            //  textBox1.Text = state.colour;

            textBox1.BackColor = state.textboxcolour;
        }
 private void nextbutton_Click(object sender, EventArgs e)
 {
     state = state.nextState();
     textBox1.BackColor = state.GetColor();
 }