VERSION 5.00
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "COMDLG32.OCX"
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   2310
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   3570
   LinkTopic       =   "Form1"
   ScaleHeight     =   2310
   ScaleWidth      =   3570
   StartUpPosition =   3  '窗口缺省
   Begin VB.CommandButton Command2 
      Caption         =   "退  出"
      Height          =   495
      Left            =   2280
      TabIndex        =   2
      Top             =   1440
      Width           =   1095
   End
   Begin VB.CommandButton Command1 
      Caption         =   "颜色"
      Height          =   495
      Left            =   2280
      TabIndex        =   0
      Top             =   720
      Width           =   1095
   End
   Begin MSComDlg.CommonDialog CommonDialog1 
      Left            =   1800
      Top             =   1080
      _ExtentX        =   847
      _ExtentY        =   847
      _Version        =   393216
      DefaultExt      =   ".jpg"
      DialogTitle     =   "保存文件"
      FileName        =   "P1.jpg"
      Filter          =   "BMP图像（*.BMP）|*.BMP|JPG图像（*.JPG）|*.JPG|所有文件（*.*）|*.*"
      FilterIndex     =   2
      Flags           =   16
      InitDir         =   "F:\VB\素材\"
   End
   Begin VB.Shape Shape1 
      BackColor       =   &H00808080&
      BorderColor     =   &H000000C0&
      FillColor       =   &H00808080&
      Height          =   1095
      Left            =   360
      Shape           =   3  'Circle
      Top             =   1080
      Width           =   1455
   End
   Begin VB.Label Label2 
      Caption         =   "调整文字颜色"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H00404040&
      Height          =   255
      Left            =   240
      TabIndex        =   3
      Top             =   720
      Width           =   1575
   End
   Begin VB.Label Label1 
      Caption         =   "保存文本文件"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   12
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000000FF&
      Height          =   375
      Left            =   600
      TabIndex        =   1
      Top             =   120
      Width           =   1695
   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()
   CommonDialog1.ShowColor             '设置通用对话框为[颜色]对话框
   Shape1.Shape = 3                    '设置形状控件对象绘制圆
   Shape1.FillStyle = 0                      '设置形状控件对象为填充状态
   Shape1.FillColor = CommonDialog1.Color    '设置形状控件对象填充色
   Label2.ForeColor = CommonDialog1.Color    '设置标签文字的颜色
End Sub
Private Sub Command2_Click()
   End
End Sub
