private void button_MouseLeave(object sender, EventArgs e) { var control = sender as Control; if (control != null) { control.ForeColor = SystemColors.ControlText; } }