在窗体上画一个名称为Command1的命令按钮和两个名称分别为Text1、Text2的文本框,然后编写如下程序: Function Fun(x As Integer, ByValy As Integer)As Integer x=x+y If x<0 Then Fun=X Else Fun=y End If End Function Private Sub Command1_Click() Dim
主观题
在窗体上画一个名称为Command1的命令按钮和两个名称分别为Text1、Text2的文本框,然后编写如下程序: Function Fun(x As Integer, ByValy As Integer)As Integer x=x+y If x<0 Then Fun=X Else Fun=y End If End Function Private Sub Command1_Click() Dim