VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   2235
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   3840
   LinkTopic       =   "Form1"
   ScaleHeight     =   2235
   ScaleWidth      =   3840
   StartUpPosition =   3  '窗口缺省
   Begin VB.CommandButton Command2 
      Caption         =   "退出程序"
      Enabled         =   0   'False
      Height          =   495
      Left            =   2160
      TabIndex        =   2
      Top             =   1560
      Width           =   1335
   End
   Begin VB.CommandButton Command1 
      Caption         =   "改变显示画面"
      Height          =   495
      Left            =   360
      TabIndex        =   0
      Top             =   1560
      Width           =   1335
   End
   Begin VB.Label Label1 
      Caption         =   "第一个Visual Basic 程序"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000000FF&
      Height          =   735
      Left            =   240
      TabIndex        =   1
      Top             =   600
      Width           =   3255
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
  Form1.Caption = "第一个Visual Basic 程序"              '设置窗体的标题文字
  Label1.Caption = "编写Visual Basic 程序是一件非常有趣的事情！"    '设置标签文字
  Command1.Caption = "画面已经改变"                         '设置按钮文字
  Command2.Enabled = True                                   '使名为Command2的按钮为可用
  Print                                                 '打印一个空行，实际上就是换行
  Print "我们大家一起来轻松学习Visual Basic 语言！"     '在窗体上显示文字
End Sub
Private Sub Command2_Click()
  End                                                   '结束程序
End Sub
