VB.NET中如何在按钮被单击后返回当前被按下的按钮的Text值?
主要问题是当前按钮名称不知道。如下:有九个按钮,PrivateSubButton1_Click(senderAsObject,eAsEventArgs)HandlesBu...
主要问题是当前按钮名称不知道。
如下:
有九个按钮,
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button9.Click, Button8.Click, Button7.Click, Button6.Click, Button5.Click, Button4.Click, Button3.Click, Button2.Click, Button1.Click
'被按下按钮的Text值如何返回?
End Sub 展开
如下:
有九个按钮,
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button9.Click, Button8.Click, Button7.Click, Button6.Click, Button5.Click, Button4.Click, Button3.Click, Button2.Click, Button1.Click
'被按下按钮的Text值如何返回?
End Sub 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询