[填空题] 在窗体上面两个名称分别为Command1和Command2、标题分别为“初始化”和“求和”的命令按钮。程序运行后,如果单击“初始化”命令按钮,则对数组a的各元素赋值;如果单击“求和”命令按钮,则求出数组a的各元素之和,并在文本框中显示出来。请填空。
Option Base 1
Dim a(3,2) As Integer
Private Sub Command1_Click()
For i=1 To 3
For i=1 To 2
(7) =i+j
Next i
End Sub
Private Sub Command2_Click()
For j=1 To 3
For i=1 To 2
s=s+a(i,j)
Next i
Next j
Text1.Text= (8)
End Sub