📄 frminput.frm
字号:
VERSION 5.00
Begin VB.Form frminput
BorderStyle = 3 'Fixed Dialog
Caption = "英雄榜"
ClientHeight = 3195
ClientLeft = 3630
ClientTop = 3465
ClientWidth = 4815
LinkTopic = "Form6"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3195
ScaleWidth = 4815
ShowInTaskbar = 0 'False
Begin VB.CommandButton Command3
Caption = "帮助"
Height = 495
Left = 3480
TabIndex = 6
Top = 2280
Width = 1095
End
Begin VB.ListBox List1
Height = 1860
Left = 360
TabIndex = 5
Top = 1080
Width = 2535
End
Begin VB.TextBox Text1
Height = 300
Left = 360
TabIndex = 3
Text = "尊姓大名"
Top = 600
Width = 975
End
Begin VB.CommandButton Command2
Caption = "退出"
Height = 495
Left = 3480
TabIndex = 1
Top = 1440
Width = 1095
End
Begin VB.CommandButton Command1
Caption = "添加"
Height = 495
Left = 3480
TabIndex = 0
Top = 480
Width = 1095
End
Begin VB.Label Label2
BorderStyle = 1 'Fixed Single
Height = 300
Left = 1920
TabIndex = 4
Top = 600
Width = 975
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "请添加你的尊姓大名"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 480
TabIndex = 2
Top = 120
Width = 2160
End
End
Attribute VB_Name = "frminput"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Dim f
f = Text1.Text & " " & Label2.Caption
List1.AddItem f
Command1.Enabled = False
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Command3_Click()
frmhelp.Show
End Sub
Private Sub Form_Load()
Label2.Caption = Form1.Label2.Caption
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -