frmsetup.frm
来自「图书馆管理系统,对书藉进出的管理,对学生借书的登记以及计时,并对一些学生进行会员」· FRM 代码 · 共 164 行
FRM
164 行
VERSION 5.00
Begin VB.Form FrmSetup
BorderStyle = 1 'Fixed Single
Caption = "Setup"
ClientHeight = 4650
ClientLeft = 45
ClientTop = 330
ClientWidth = 3990
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 4650
ScaleWidth = 3990
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command2
Caption = "取消"
Height = 495
Left = 2400
TabIndex = 3
Top = 3960
Width = 1215
End
Begin VB.ListBox Lshide
Height = 2940
Left = 2400
TabIndex = 2
Top = 720
Width = 1335
End
Begin VB.ListBox Lsshow
Height = 2940
Left = 240
TabIndex = 1
Top = 720
Width = 1455
End
Begin VB.CommandButton Command1
Caption = "确认"
Height = 495
Left = 480
TabIndex = 0
Top = 3960
Width = 1215
End
Begin VB.Label Label4
Caption = "隐藏条目"
Height = 375
Left = 2400
TabIndex = 7
Top = 240
Width = 1335
End
Begin VB.Label Label3
Caption = "显示条目"
Height = 375
Left = 240
TabIndex = 6
Top = 240
Width = 1455
End
Begin VB.Label Lbdec
Caption = ">"
BeginProperty Font
Name = "MS Sans Serif"
Size = 24
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 1800
TabIndex = 5
Top = 2280
Width = 495
End
Begin VB.Label Lbadd
Caption = "<"
BeginProperty Font
Name = "MS Sans Serif"
Size = 24
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 1800
TabIndex = 4
Top = 1440
Width = 495
End
End
Attribute VB_Name = "FrmSetup"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Dim i, j As Integer
Frmmain.SetFocus
Frmmain.Enabled = True
Me.Hide
End Sub
Private Sub Command2_Click()
Frmmain.Enabled = True
Me.Hide
End Sub
Private Sub Form_Activate()
Dim a As Integer
End Sub
Private Sub Lbadd_Click()
If Lshide.Text <> "" Then
Lsshow.AddItem (Lshide.Text)
Lshide.RemoveItem (Lshide.ListIndex)
End If
End Sub
Private Sub Lbdec_Click()
If Lsshow.Text <> "" Then
Lshide.AddItem (Lsshow.Text)
Lsshow.RemoveItem (Lsshow.ListIndex)
End If
End Sub
Private Sub Lsshow_DblClick()
Lshide.AddItem (Lsshow.Text)
Lsshow.RemoveItem (Lsshow.ListIndex)
End Sub
Private Sub Lshide_DblClick()
Lsshow.AddItem (Lshide.Text)
Lshide.RemoveItem (Lshide.ListIndex)
End Sub
Private Sub Form_Unload(Cancel As Integer)
Frmmain.Enabled = True
Frmmain.SetFocus
Unload Me
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?