你好,我只是在编写一个程序,当我在text_box上并按f5键时,我需要显示一个新表格但似乎该程序无法识别f5密钥,因为我前夕做了一个小程序来找出f5密钥的keychar,但无法正常工作
我不知道是否有人可以帮助我这是我的代码:
Private Sub txt_numero_KeyPress(sender As Object, e As KeyPressEventArgs) Handles txt_numero.KeyPress
If e.KeyChar = Convert.ToChar(Keys.F5) Then
fmrBuscarByName.Show()
End If