如何在winform C#中获取键盘的当前输入语言? [英] How to get current input language of keyboard in winform C#?
本文介绍了如何在winform C#中获取键盘的当前输入语言?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我正在创建一个winForm应用程序,我希望获得keybord的当前输入语言。
请告诉我如何获取它。 />
我尝试过:
i在WPF应用程序中使用了InputLanguageManager同样的事情,但它不能在WinForm中工作
请帮助我谢谢
Hi all,
I am creating a winForm application in this i want to get current input language of keybord .
Please tell me how to get it.
What I have tried:
i have used InputLanguageManager in WPF application for the same thing but it is not working in WinForm
Please help me thanks
推荐答案
使用CultureInfo。
见文档 [ ^ ]
Use CultureInfo.
See the documentation[^]
这篇关于如何在winform C#中获取键盘的当前输入语言?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文