【VB开源代码栏目提醒】:网学会员为需要VB开源代码的朋友们搜集整理了Ex7_2.frm相关资料,希望对各位网友有所帮助!
VERSION 5.00
Begin VB.Form Ex7_2
Caption = "显示和隐藏窗体"
ClientHeight = 3090
ClientLeft = 60
ClientTop = 450
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 3090
ScaleWidth = 4680
StartUpPosition = 3 '窗口缺省
End
Attribute VB_Name = "Ex7_2"
Attribute
VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Click()
Dim Msg As String ' 声明变量。
Hide ' 隐藏窗体
Msg = "单击“确定”重新显示窗体"
MsgBox Msg ' 显示信息
Show ' 使窗体重显
End Sub