private void FrontColor_Click(object sender, EventArgs e) { if (colorDialog1.ShowDialog() == DialogResult.OK) { front = colorDialog1.Color; } fractals.ChangeColor(front); }