From 27e5b6601698ae8331ddc3a0e3d3a92f9533cd37 Mon Sep 17 00:00:00 2001 From: yibo <361071264@qq.com> Date: Sat, 5 May 2018 09:17:47 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A6=81=E7=94=A8=E8=AE=A8=E5=8E=8C=E7=9A=84IM?= =?UTF-8?q?EMODE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WinFormControl/UScanPanel.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/WinFormControl/UScanPanel.cs b/WinFormControl/UScanPanel.cs index df4d160..4b4480c 100644 --- a/WinFormControl/UScanPanel.cs +++ b/WinFormControl/UScanPanel.cs @@ -38,6 +38,8 @@ namespace WinFormControl { if (!parentForm.KeyPreview) parentForm.KeyPreview = true; + if (parentForm.ImeMode != ImeMode.Disable) + parentForm.ImeMode = ImeMode.Disable; parentForm.KeyPress += ParentForm_KeyPress; } }