VB 怎样定义A&B=C D&E=C

VB 怎样定义A&B=C D&E=C

题目
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
答案
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
举一反三
我想写一篇关于奥巴马的演讲的文章,写哪一篇好呢?为什么好
奥巴马演讲不用看稿子.为什么中国领导演讲要看?
想找英语初三上学期的首字母填空练习……
英语翻译
1,人们染上烟瘾,最终因吸烟使自己丧命.
最新试题
热门考点

超级试练试题库

© 2017-2019 超级试练试题库,All Rights Reserved.