我想从语言栏中获取当前的键盘语言:
我想实时执行此操作。如何?
编辑:表单加载:
Timer1.Start()
Public Sub MyCurrentInputLanguage()
Dim myCurrentLanguage As InputLanguage = InputLanguage.CurrentInputLanguage
Me.Text = "Current input language is: " & _
myCurrentLanguage.Culture.EnglishName
End Sub
计时器:
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
MyCurrentInputLanguage()
end sub
当用户按下“Alt+Shift”时如何更新我的文本框?