private void MainWindow_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.NumPad1) { set1Disp.BackColor = Color.Green; } else if (e.KeyCode == Keys.NumPad3) { set2Disp.BackColor = Color.Green; } {
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)