VERSION 5.00
Begin VB.Form FrmWelcome 
   BackColor       =   &H00000000&
   Caption         =   "色彩缤纷迎奥运"
   ClientHeight    =   4710
   ClientLeft      =   60
   ClientTop       =   450
   ClientWidth     =   6030
   LinkTopic       =   "Form1"
   ScaleHeight     =   4710
   ScaleWidth      =   6030
   StartUpPosition =   3  '窗口缺省
   Begin VB.Timer Timer1 
      Interval        =   100
      Left            =   5400
      Top             =   120
   End
   Begin VB.PictureBox PicHua4 
      BackColor       =   &H00000000&
      BorderStyle     =   0  'None
      Height          =   1095
      Left            =   360
      ScaleHeight     =   1095
      ScaleWidth      =   1215
      TabIndex        =   6
      Top             =   3240
      Width           =   1215
   End
   Begin VB.PictureBox PicHua3 
      BackColor       =   &H00000000&
      BorderStyle     =   0  'None
      Height          =   855
      Left            =   120
      ScaleHeight     =   855
      ScaleWidth      =   975
      TabIndex        =   5
      Top             =   720
      Width           =   975
   End
   Begin VB.PictureBox PicHua2 
      BackColor       =   &H00000000&
      BorderStyle     =   0  'None
      Height          =   1455
      Left            =   4200
      ScaleHeight     =   1455
      ScaleWidth      =   1455
      TabIndex        =   4
      Top             =   840
      Width           =   1455
   End
   Begin VB.CommandButton CmdExit 
      Caption         =   "退出"
      Height          =   375
      Left            =   5040
      TabIndex        =   3
      Top             =   4200
      Width           =   855
   End
   Begin VB.CommandButton CmdHua 
      Caption         =   "礼花灯"
      Height          =   375
      Left            =   5040
      TabIndex        =   2
      Top             =   3600
      Width           =   855
   End
   Begin VB.PictureBox PicHua1 
      BackColor       =   &H00000000&
      BorderStyle     =   0  'None
      ForeColor       =   &H8000000B&
      Height          =   2400
      Left            =   1440
      ScaleHeight     =   2400
      ScaleWidth      =   2400
      TabIndex        =   1
      Top             =   840
      Width           =   2400
   End
   Begin VB.Label LblWelcome 
      BackColor       =   &H00000000&
      Caption         =   "北京欢迎您"
      BeginProperty Font 
         Name            =   "隶书"
         Size            =   27.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000000FF&
      Height          =   495
      Left            =   1440
      TabIndex        =   0
      Top             =   240
      Width           =   3135
   End
End
Attribute VB_Name = "FrmWelcome"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub CmdExit_Click()
  End
End Sub

Private Sub CmdHua_Click()
  PicHua1.DrawWidth = 3
  PicHua1.Scale (-10, 10)-(10, -10)
   For i = 0 To 360 Step 20
    X2 = 10 * Cos(i * 3.14 / 180)
    Y2 = 10 * Sin(i * 3.14 / 180)
    c = RGB(255 * Rnd, 255 * Rnd, 255 * Rnd)
    PicHua1.Line (0, 0)-(X2, Y2), c
  Next i
  PicHua2.DrawWidth = 2
  PicHua2.Scale (-10, 10)-(10, -10)
   For i = 0 To 360 Step 20
    X2 = 10 * Cos(i * 3.14 / 180)
    Y2 = 10 * Sin(i * 3.14 / 180)
    c = RGB(255 * Rnd, 255 * Rnd, 255 * Rnd)
    PicHua2.Line (0, 0)-(X2, Y2), c
  Next i
  PicHua3.DrawWidth = 2
  PicHua3.Scale (-10, 10)-(10, -10)
   For i = 0 To 360 Step 20
    X2 = 10 * Cos(i * 3.14 / 180)
    Y2 = 10 * Sin(i * 3.14 / 180)
    c = RGB(255 * Rnd, 255 * Rnd, 255 * Rnd)
    PicHua3.Line (0, 0)-(X2, Y2), c
  Next i
  PicHua4.DrawWidth = 2
  PicHua4.Scale (-10, 10)-(10, -10)
   For i = 0 To 360 Step 20
    X2 = 10 * Cos(i * 3.14 / 180)
    Y2 = 10 * Sin(i * 3.14 / 180)
    c = RGB(255 * Rnd, 255 * Rnd, 255 * Rnd)
    PicHua4.Line (0, 0)-(X2, Y2), c
  Next i
End Sub

Private Sub Form_Load()
 LblWelcome.Left = FrmWelcome.Width
End Sub

Private Sub Timer1_Timer()
  'LblWelcome.ForeColor = RGB(255 * Rnd, 255 * Rnd, 255 * Rnd)
  LblWelcome.Left = LblWelcome.Left - 50
  'LblWelcome.Move LblWelcome.Left - 50
End Sub
