【简答题】在窗体中有命令按钮Command1和文本框Text1,按钮的事件代码如下:Public x As IntegerPrivate Sub Command1_Click()x = 10Call s1Call s2MsgBox xEnd SubPrivate Sub s1()x = x + 20End SubPrivate Sub s2()Dim x As Integerx = x + 20End Su...
【单选题】窗体中有命令按钮 Command1 和文本框 Text1 ,事件过程如下: Function result(ByVal x As Integer) AsBoolean Ifx Mod 2=0 Then result=True Else result=False End If End Function Private Sub Command1_Click() x=Val(InputBox(“ 请输入...