> 其他 >
VB 怎样定义A&B=C D&E=C
Private Sub Form_Load()
怎样定义A&B=C D&E=C
End Sub
Private Sub Command1_Click()
If Text1.Text & Text2.Text = C Then MsgBox "XXX
当在Text1.Text 输入A Text2.Text 输入B时 那么MSGBOX
或当在Text1.Text 输入D Text2.Text 输入E时 那么MSGBOX
End Sub
A&B不等于D&E
人气:237 ℃ 时间:2020-10-01 22:51:43
解答
Private Sub Command1_Click()
Dim a, b, c As String
a = Text1
b = Text2
c = a & b
If a & b = c Then MsgBox c
End Sub
推荐
猜你喜欢
© 2026 79432.Com All Rights Reserved.
电脑版|手机版