private void lightClicked(object sender, MouseEventArgs e)
{
ColorDialog colorPicker = new ColorDialog();
colorPicker.Color = Properties.Settings.Default.lightColor;
if (colorPicker.ShowDialog() == DialogResult.OK)
{
SolidBrush newBrush = new SolidBrush(colorPicker.Color);
Button b = (Button)sender;
b.inside = newBrush;
form.lightColor = newBrush;
form.lightInline.Brush = newBrush;
form.lightOutline.Brush = newBrush;
updateAllButtons();
}
}