private void ChooseColor(ColorComboBox comboBox) { ColorDialog colorDialog = new ColorDialog(); colorDialog.AllowFullOpen = true; colorDialog.ShowHelp = false; colorDialog.Color = comboBox.CustomColor; if (colorDialog.ShowDialog() == DialogResult.OK) { comboBox.CustomColor = colorDialog.Color; comboBox.SelectedIndex = 0; } }