private ApplyColor ( |
||
button | ||
color | int | |
return | void |
private void ApplyColor( Button button, int color )
{
button.Text = Color.GetName( color );
button.BackColor = ColorPicker.ColorPairs[color].Background;
button.ForeColor = ColorPicker.ColorPairs[color].Foreground;
bApply.Enabled = true;
}