From d7ca6736242802db51a8e7b8f391f185f60720bb Mon Sep 17 00:00:00 2001 From: Manuel Kamper Date: Mon, 24 Oct 2022 19:22:01 +0200 Subject: [PATCH] added numpad for keyboard control #5 --- Mk0.Software.Bildduplikate/Form1.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Mk0.Software.Bildduplikate/Form1.cs b/Mk0.Software.Bildduplikate/Form1.cs index e6f1b29..be020b7 100644 --- a/Mk0.Software.Bildduplikate/Form1.cs +++ b/Mk0.Software.Bildduplikate/Form1.cs @@ -159,15 +159,15 @@ namespace Mk0.Software.Bildduplikate { ButtonCSV_Click(sender, e); } - else if (e.KeyCode == Keys.D1) + else if (e.KeyCode == Keys.D1 || e.KeyCode == Keys.NumPad1) { ButtonDel1_Click(sender, e); } - else if (e.KeyCode == Keys.D2) + else if (e.KeyCode == Keys.D2 || e.KeyCode == Keys.NumPad2) { ButtonDel2_Click(sender, e); } - else if (e.KeyCode == Keys.D0) + else if (e.KeyCode == Keys.D0 || e.KeyCode == Keys.NumPad0) { ButtonKeinDuplikat_Click(sender, e); }