From 6b7211e36b6664502e1bcc81df612bd8eb572841 Mon Sep 17 00:00:00 2001 From: DGrothe-PhD Date: Mon, 11 Sep 2023 21:21:20 +0200 Subject: [PATCH] refactoring --- T9KeyboardApp/Form1.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/T9KeyboardApp/Form1.cs b/T9KeyboardApp/Form1.cs index 481dfb3..f0ac4b6 100644 --- a/T9KeyboardApp/Form1.cs +++ b/T9KeyboardApp/Form1.cs @@ -39,9 +39,9 @@ private void Form1_KeyPress(object sender, KeyPressEventArgs e) } else // if (int.TryParse("" + e.KeyChar, out int _)) { - foreach (var b in Controls) + foreach (var b in Controls.OfType