以下VB代码怎样转换到VB.Net?
PrivateSubCommand1_Click()CallText1_KeyPress(13)EndSubPrivateSubText1_KeyPress(KeyAsc...
Private Sub Command1_Click()
Call Text1_KeyPress(13)
End Sub
Private Sub Text1_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then Text1.Text = "Enter"
End Sub 展开
Call Text1_KeyPress(13)
End Sub
Private Sub Text1_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then Text1.Text = "Enter"
End Sub 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询