窗体上有名称为Text1、Text2的2个文本框,有一个由3个单选按钮构成的控件数组 Option1,如图1所示。程序运行后,如果单击某个单选按钮,则执行Text1中的数值与 该单选按钮所对应的运算(乘以1、10或100),并将结果显示在Text2中,如图2所示, 为了实现上述功能,在程序中的问号(?)处应填入的内容是______。
Private Sub Option1_Click(Index As Integer)
If Text1.Text<>"" Then
Select Case Case 0
Text2.Text=Val(Text1.Text) Case 1
Text2.Text=Val(Text1.Text)*10
Case 2
Text2.Text=Val(Text1.Text)*100
End Select
End If
End Sub