填空题

新建一个工程,内有两个窗体,窗体Form1上有一个命令按钮Command1,单击该按钮, Form1窗体消失,显示Form2窗体,程序如下:   Private Sub Command1_Click()    【 】     Form2 【 】    End Sub   试补充完整。

【参考答案】

Me.Hide或者Form1.Hide或者Unload Me
<上一题 目录 下一题>
热门 试题

单项选择题
执行下列程序后,鼠标单击窗体,输出结果为( )。Private Sub Form_Click()Print“Click”;End SubPrivate Sub Form_MouseDown(Button As Integer,Shift_As Integer,X As Single,Y As Single)Print “Donw”End SubPrivate Sub Form_MouseUp(Button As Integer,Shift_As Integer,X As Single,Y As Single)Print“Up”End Sub
A. DownUpClick
B. ClickDownUp
C. DownClickUp
D. UpDownClick
单项选择题
单击窗体时,下列程序的执行结果是( )。Private Sub Invert(By Val xstr As String,ystr As String)Dim tempstr AS StringDim I AS IntegerI=Len(xstr)Do While I>=1tempstr=tempstr + Mid(xstr,I,1)I=I - 1LoopyStr=tempStrEnd SubPrivate Sub Form_Click( )Dim s1 As String,s2 As StringS1= abcdef Invert S1,S2Print S2End Sub
A.blooean isAlive( )
B.Thread currentThread( )
C.String getName( )
D.smtic boolean interrupted( )
相关试题
  • 下面运行程序后,单击命令按钮,输出的结果...
  • 在窗体上加上一个文本框控件TextBox,画一...
  • 下述程序段在运行时的显示结果是【 】。Cl...
  • 请填写下列空白,以实现运行后形成一个主对...
  • 一棵二叉树第六层(根结点为第一层)的结点...