Dim Y As IntegerPrivate Sub Command1_Click()
Dim X As Integer
X=2 : y=3
Text1.Text=p2(x,y)
Text2.Text=p1(x)
End Sub
Private Function p1(x As Integer) As Integer
X=x+y
Y=x+y
P1=x+y
End Function
Private Function p2(x As Integer , y As Integer) As Integer
P2= 2*x + y
End Function
当单击命令按钮后,文本框Text1和Text2内的值分别为( )