Private Sub Command1_Click()
'Call ShowName(?)
End Sub
Private Sub Label1_Click()
'Call ShowName(?)
End Sub
'Private Sub ShowName(c As ?)
If TypeOf c Is CommandButton Then
Label2.Caption = "单击" & Command1.Caption
End If
If TypeOf c Is Label Then
' ? = "单击" & Label1.Caption
End If
End Sub
发布于 2022-05-11 10:12:23
登录后免费查看答案
关注者
0
被浏览
28