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

📄 index.frm

📁 很经典的抽奖程序
💻 FRM
字号:
VERSION 5.00
Begin VB.Form index 
   BorderStyle     =   1  'Fixed Single
   Caption         =   "《钢都周报》抽奖系统"
   ClientHeight    =   9180
   ClientLeft      =   150
   ClientTop       =   150
   ClientWidth     =   11940
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   9180
   ScaleWidth      =   11940
   StartUpPosition =   2  '屏幕中心
   WindowState     =   2  'Maximized
   Begin VB.Frame Frame2 
      Caption         =   "抽奖说明"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000000C0&
      Height          =   3615
      Left            =   120
      TabIndex        =   12
      Top             =   3240
      Width           =   11655
      Begin VB.Label Label7 
         Caption         =   "(本次活动的最终解释权归本报所有)"
         Height          =   375
         Left            =   7560
         TabIndex        =   18
         Top             =   3120
         Width           =   3615
      End
      Begin VB.Label Label6 
         Caption         =   "·五等奖100名;"
         Height          =   375
         Left            =   480
         TabIndex        =   17
         Top             =   1800
         Width           =   8055
      End
      Begin VB.Label Label5 
         Caption         =   "·四等奖100名;"
         Height          =   255
         Left            =   480
         TabIndex        =   16
         Top             =   1440
         Width           =   3255
      End
      Begin VB.Label Label4 
         Caption         =   "·三等奖20名;"
         Height          =   255
         Left            =   480
         TabIndex        =   15
         Top             =   1080
         Width           =   2415
      End
      Begin VB.Label Label3 
         Caption         =   "·二等奖2名;"
         Height          =   255
         Left            =   480
         TabIndex        =   14
         Top             =   720
         Width           =   2295
      End
      Begin VB.Label Label2 
         Caption         =   "·一等奖1名;"
         Height          =   255
         Left            =   480
         TabIndex        =   13
         Top             =   360
         Width           =   2535
      End
   End
   Begin VB.CommandButton Command1 
      BackColor       =   &H00C00000&
      Caption         =   "开始抽奖"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   495
      Left            =   6840
      TabIndex        =   11
      Top             =   7080
      Width           =   1215
   End
   Begin VB.CommandButton Command2 
      Caption         =   "退出"
      Height          =   495
      Left            =   10440
      TabIndex        =   10
      Top             =   7080
      Width           =   1215
   End
   Begin VB.CommandButton Command3 
      Caption         =   "后台管理"
      Height          =   495
      Left            =   5160
      TabIndex        =   9
      Top             =   7080
      Width           =   1215
   End
   Begin VB.CommandButton Command4 
      Caption         =   "关于我们"
      Height          =   495
      Left            =   8640
      TabIndex        =   8
      Top             =   7080
      Width           =   1215
   End
   Begin VB.OptionButton Option6 
      Caption         =   "末等奖"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Left            =   9840
      TabIndex        =   6
      Top             =   2400
      Visible         =   0   'False
      Width           =   975
   End
   Begin VB.OptionButton Option5 
      Caption         =   "五等奖"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Left            =   8088
      TabIndex        =   5
      Top             =   2400
      Width           =   975
   End
   Begin VB.OptionButton Option4 
      Caption         =   "四等奖 "
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Left            =   6336
      TabIndex        =   4
      Top             =   2400
      Width           =   975
   End
   Begin VB.OptionButton Option3 
      Caption         =   "三等奖"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Left            =   4560
      TabIndex        =   3
      Top             =   2400
      Width           =   975
   End
   Begin VB.OptionButton Option2 
      Caption         =   "二等奖"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Left            =   2832
      TabIndex        =   2
      Top             =   2400
      Width           =   975
   End
   Begin VB.OptionButton Option1 
      Caption         =   "一等奖"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   9
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   615
      Left            =   1080
      TabIndex        =   1
      Top             =   2400
      Value           =   -1  'True
      Width           =   975
   End
   Begin VB.PictureBox Picture1 
      BackColor       =   &H80000008&
      Height          =   1695
      Left            =   120
      Picture         =   "index.frx":0000
      ScaleHeight     =   1635
      ScaleWidth      =   11595
      TabIndex        =   0
      Top             =   120
      Width           =   11655
   End
   Begin VB.Frame Frame1 
      Caption         =   "请选择奖等"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000000C0&
      Height          =   1215
      Left            =   120
      TabIndex        =   7
      Top             =   1920
      Width           =   11655
   End
End
Attribute VB_Name = "index"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
If Option1.Value = True Then
frm_Main.Show
End If

If Option2.Value = True Then
frm_Main2.Show
End If



If Option3.Value = True Then
frm_Main31.Show
End If

If Option4.Value = True Then
frm_Main4.Show
End If

If Option5.Value = True Then
frm_Main5.Show
End If

If Option6.Value = True Then
frm_Main6.Show
End If

End Sub

Private Sub Command2_Click()
Unload Me
End Sub

Private Sub Command3_Click()
frm_Select.Show
End Sub

Private Sub Command4_Click()
frm_About.Show
End Sub

Private Sub Form_Load()
Me.Width = Screen.Width
Me.Height = Screen.Height
Me.Top = 0
Me.Left = 0
End Sub

⌨️ 快捷键说明

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