设一个工程由两个窗体组成,其名称分别为Form1和Form2,在Form1上有一个名称为Command1的命令按钮。窗体Form1的程序代码如下: Private Sub Command1_Click() Dim a As Integer a=10 Call g(Form2,a) End Sub Private Sub g(f As Form, X As Integer) y=IIf(x>,10,

A.Forml的Caption属性值为100 B.Form2的Caption属性值为-100 C.Form1的Caption属性值为-100 D.Form2的Caption属性值为100

时间:2024-04-25 22:02:58

相似题目