added numpad for keyboard control #5

This commit is contained in:
Manuel Kamper 2022-10-24 19:22:01 +02:00
parent d8ee002246
commit d7ca673624

View File

@ -159,15 +159,15 @@ namespace Mk0.Software.Bildduplikate
{ {
ButtonCSV_Click(sender, e); ButtonCSV_Click(sender, e);
} }
else if (e.KeyCode == Keys.D1) else if (e.KeyCode == Keys.D1 || e.KeyCode == Keys.NumPad1)
{ {
ButtonDel1_Click(sender, e); ButtonDel1_Click(sender, e);
} }
else if (e.KeyCode == Keys.D2) else if (e.KeyCode == Keys.D2 || e.KeyCode == Keys.NumPad2)
{ {
ButtonDel2_Click(sender, e); ButtonDel2_Click(sender, e);
} }
else if (e.KeyCode == Keys.D0) else if (e.KeyCode == Keys.D0 || e.KeyCode == Keys.NumPad0)
{ {
ButtonKeinDuplikat_Click(sender, e); ButtonKeinDuplikat_Click(sender, e);
} }