110,536
社区成员
发帖
与我相关
我的任务
分享
<Grid>
<DockPanel>
<TextBox x:Name="textBox1" KeyDown="textBox_KeyDown" Width="120"/>
<TextBox x:Name="textBox2" Width="120"/>
</DockPanel>
</Grid>
事件:
Private Sub textBox_KeyDown(sender As Object, e As KeyEventArgs)
If e.Key = Key.Tab Then
MsgBox("按下了Tab键")
End If
End Sub