Browse Source

禁用讨厌的IMEMODE

master
yibo 7 years ago
parent
commit
27e5b66016
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      WinFormControl/UScanPanel.cs

+ 2
- 0
WinFormControl/UScanPanel.cs View File

@ -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;
}
}


Loading…
Cancel
Save