This project is read-only.

Keyboard shortcut

Dec 29, 2009 at 7:21 PM
Edited Dec 29, 2009 at 7:21 PM

private
void SudokuControl1_KeyPress(object sender, KeyPressEventArgs e) { switch (e.KeyChar) { case '1': btn1_Click(sender, e); break; case '2': btn2_Click(sender, e); break; case '3': btn3_Click(sender, e); break; case '4': btn4_Click(sender, e); break; case '5': btn5_Click(sender, e); break; case '6': btn6_Click(sender, e); break; case '7': btn7_Click(sender, e); break; case '8': btn8_Click(sender, e); break; case '9': btn9_Click(sender, e); break; } }