vb简单编程
发布时间: 2024-11-07 18:59:47
❶ VB简易程序设计代码
题目一自:
Private Sub Text1_Change()
Text2.Text = Text1.Text
End Sub
题目二:
Private Sub Command1_Click()
Text1.Text = "程序设计第一步:设计界面"
End Sub
Private Sub Command2_Click()
Text1.Text = "程序设计第二步:属性设置"
End Sub
Private Sub Command3_Click()
Text1.Text = "程序设计第三步:编写代码"
End Sub
题目三:
Private Sub Command1_Click()
Text1.PasswordChar = "*"
End Sub
题目四:
运行结果:
23
23
23
hellonihao
hellonihao
hello 100
helloI
100nihao
Inihao
..........先写这么多 - - 先睡觉去了。。。明儿再说!