在名称为Form1的窗体上建立两个名称分别为Cmd1和Cmd2,标题分别为“输入” 和“连
在名称为Form1的窗体上建立两个名称分别为Cmd1和Cmd2,标题分别为“输入” 和“连
日期:2016-06-02 23:46:01 人气:1
Private Sub Form_Load()Dim a As String, b As StringCmd1.Caption = "输入"Cmd2.Caption = "连接"End SubPrivate Sub Cmd1_Click()a = InputBox("请输入a的值")b = InputBox("请输入b的值")Cmd1.Tag = aCmd2.Tag = bEnd SubPrivate Sub Cmd2_Cli