form5.frm

来自「超级赌博VB游戏源代码及可执行程序」· FRM 代码 · 共 83 行

FRM
83 行
字号
VERSION 5.00
Begin VB.Form Form5 
   BorderStyle     =   3  'Fixed Dialog
   Caption         =   "超级赌王游戏2.0"
   ClientHeight    =   3195
   ClientLeft      =   4215
   ClientTop       =   3555
   ClientWidth     =   3870
   Icon            =   "Form5.frx":0000
   LinkTopic       =   "Form5"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   3195
   ScaleWidth      =   3870
   ShowInTaskbar   =   0   'False
   Begin VB.CommandButton Command2 
      Caption         =   "确定"
      Height          =   375
      Left            =   2640
      TabIndex        =   2
      Top             =   720
      Width           =   975
   End
   Begin VB.CommandButton Command1 
      Caption         =   "帮助"
      Height          =   375
      Left            =   2640
      TabIndex        =   1
      Top             =   1800
      Width           =   975
   End
   Begin VB.ListBox List1 
      Height          =   2220
      Left            =   360
      TabIndex        =   0
      Top             =   720
      Width           =   1935
   End
   Begin VB.Label Label1 
      AutoSize        =   -1  'True
      Caption         =   "英雄排行榜"
      BeginProperty Font 
         Name            =   "黑体"
         Size            =   14.25
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   285
      Left            =   600
      TabIndex        =   3
      Top             =   240
      Width           =   1425
   End
End
Attribute VB_Name = "Form5"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
frmhelp.Show
End Sub

Private Sub Command2_Click()
Unload Me
End Sub

Private Sub Form_Load()
'On Error GoTo asd
Dim t
Open "f.txt" For Input As #1
Do Until EOF(1)
Line Input #1, t
List1.AddItem t
Loop
Close
'asd:
'MsgBox "文件丢失!", 64, "错误"
End Sub

⌨️ 快捷键说明

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