⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 practice9_1.frm

📁 深圳大学的vb上机与教学的课件
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   2940
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4680
   LinkTopic       =   "Form1"
   ScaleHeight     =   2940
   ScaleWidth      =   4680
   StartUpPosition =   3  '窗口缺省
   Begin VB.Frame Frame2 
      Caption         =   "请选择形状"
      Height          =   2415
      Left            =   3000
      TabIndex        =   1
      Top             =   240
      Width           =   1335
      Begin VB.OptionButton Option8 
         Caption         =   "椭圆形"
         Height          =   300
         Left            =   240
         TabIndex        =   9
         Top             =   1800
         Width           =   975
      End
      Begin VB.OptionButton Option7 
         Caption         =   "长方形"
         Height          =   300
         Left            =   240
         TabIndex        =   8
         Top             =   1320
         Value           =   -1  'True
         Width           =   975
      End
      Begin VB.OptionButton Option6 
         Caption         =   "正方形"
         Height          =   300
         Left            =   240
         TabIndex        =   7
         Top             =   840
         Width           =   975
      End
      Begin VB.OptionButton Option5 
         Caption         =   "圆形"
         Height          =   300
         Left            =   240
         TabIndex        =   6
         Top             =   360
         Width           =   975
      End
   End
   Begin VB.Frame Frame1 
      Caption         =   "请选择颜色"
      Height          =   2415
      Left            =   240
      TabIndex        =   0
      Top             =   240
      Width           =   1335
      Begin VB.OptionButton Option4 
         Caption         =   "黄色"
         Height          =   375
         Left            =   240
         TabIndex        =   5
         Top             =   1800
         Width           =   855
      End
      Begin VB.OptionButton Option3 
         Caption         =   "绿色"
         Height          =   375
         Left            =   240
         TabIndex        =   4
         Top             =   1320
         Width           =   855
      End
      Begin VB.OptionButton Option2 
         Caption         =   "蓝色"
         Height          =   375
         Left            =   240
         TabIndex        =   3
         Top             =   840
         Width           =   855
      End
      Begin VB.OptionButton Option1 
         Caption         =   "红色"
         Height          =   375
         Left            =   240
         TabIndex        =   2
         Top             =   360
         Value           =   -1  'True
         Width           =   855
      End
   End
   Begin VB.Shape Shape1 
      FillColor       =   &H000000FF&
      FillStyle       =   0  'Solid
      Height          =   615
      Left            =   1800
      Top             =   1200
      Width           =   975
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Option1_Click()
Shape1.FillColor = vbRed
End Sub

Private Sub Option2_Click()
Shape1.FillColor = vbBlue
End Sub

Private Sub Option3_Click()
Shape1.FillColor = vbGreen
End Sub

Private Sub Option4_Click()
Shape1.FillColor = vbYellow
End Sub

Private Sub Option5_Click()
Shape1.Shape = 3
End Sub

Private Sub Option6_Click()
Shape1.Shape = 1
End Sub

Private Sub Option7_Click()
Shape1.Shape = 0
End Sub

Private Sub Option8_Click()
Shape1.Shape = 2
End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -