【单选题】在窗体上添加一个命令按钮Command1和两个名称分别为Label1和Label2的标签,在通用声明段声明变量X,并编写如下事件过程和Sub过程: Private x As Integer Private Sub Command1_Click() x = 5: y = 3 Call proc(x, y) Label1.Caption = x Label2.Caption = y End Sub S...
【单选题】在窗体上添加一个命令按钮Command1和两个名称分别为Label1和Label2的标签,在通用声明段声明变量x,并编写如下事件过程和SUB过程: Private x As Integer Private Sub Command1_Click() x = 5: y = 3 Call proc(x, y) Label1.Caption = x Label2.Caption = y End Sub S...
【单选题】在在窗体上添加一个命令按钮Command1和两个名称分别为Label1和 Label2的标签,然后编写如下事件过程: Private X AsInteger Private SubCommand1_Click( ) X = 5: y = 3 Call proc(X, y) Label1.Caption = X Label2.Caption = y End Sub Sub proc(ByVal a ...