I am looking for a way to change the input type of the keyboard in a WinForm application for a WindowsCE Device. We are using scanners with WindowsCE installed on them. By default, the input type can be changed by pressing the F8(Alpha) key on the scanner. Is there any way that this can be done in a C# code?
Call this codes in a proper place
System.Globalization.CultureInfo lang = new System.Globalization.CultureInfo('language-culture');
InputLanguage.CurrentInputLanguage = InputLanguage.FromCulture(lang);
and set your language-culture . example "fa-IR" for farsi.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.