From 5abdce821f0bd475f33af70e518a0a8ac5c74662 Mon Sep 17 00:00:00 2001 From: Elivo Date: Mon, 28 Apr 2025 15:21:02 +0800 Subject: [PATCH] =?UTF-8?q?BlockText=EF=BC=9A=E5=A2=9E=E5=8A=A0=E9=94=AE?= =?UTF-8?q?=E7=9B=98=E4=BA=8B=E4=BB=B6=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Apewer.Windows/Surface/BlockText.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Apewer.Windows/Surface/BlockText.cs b/Apewer.Windows/Surface/BlockText.cs index c70807e..0cb9fa6 100644 --- a/Apewer.Windows/Surface/BlockText.cs +++ b/Apewer.Windows/Surface/BlockText.cs @@ -381,6 +381,9 @@ namespace Apewer.Surface _input.GotFocus += Event_GotFocus; _input.LostFocus += Event_LostFocus; _input.TextChanged += Event_Input_TextChanged; + _input.KeyDown += (s, e) => OnKeyDown(e); + _input.KeyUp += (s, e) => OnKeyUp(e); + _input.KeyPress += (s, e) => OnKeyPress(e); _combo.DrawItem += Event_Combo_DrawItem; _combo.SelectedIndexChanged += Event_Combo_SelectedIndexChanged;