分类：电脑/网络-软件
问题：谁能把我下面的VB程序窗口编写一下代码? 
  谁能把我下面的程序窗口编写一下代码?
回答：Private Sub Command1_Click()
  Text3.Text = Val(Text1.Text) + Val(Text2.Text)
End Sub

Private Sub Command2_Click()
  Text1.Text = ""
  Text2.Text = ""
  Text3.Text = ""
  Text1.SetFocus
End Sub

Private Sub Command3_Click()
  End
End Sub

Private Sub Form_Load()
  Text1.Text = ""
  Text2.Text = ""
  Text3.Text = ""
End Sub