问题描述
我已经安装了适用于乌尔都语的语音键盘,可以从控制面板">中选择语言>键盘
我可以使用VB.NET代码添加语言并选择键盘吗?
谢谢
Hi,
I have installed Phonetic Key board for Urdu language, that I can select from Control Panel > Languages > Keyboard
Can I add languages and select keyboard using my VB.NET code?
Thanks
推荐答案
Windows.Forms.InputLanguage.CurrentInputLanguage = someLanguage;
请参阅 http://msdn.microsoft.com/en-us/library/system .windows.forms.inputlanguage.aspx [ ^ ].
使用WPF,可以将类System.Windows.Input.InputLanguageManager
用于相同的目的.请参阅 http://msdn.microsoft.com/en-us/library/system .windows.input.inputlanguagemanager.aspx [ ^ ].
See http://msdn.microsoft.com/en-us/library/system.windows.forms.inputlanguage.aspx[^].
With WPF, you can use the class System.Windows.Input.InputLanguageManager
for the same purpose. See http://msdn.microsoft.com/en-us/library/system.windows.input.inputlanguagemanager.aspx[^].
这篇关于使用VB.NET代码选择键盘布局的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!