📄 form1.frm
字号:
VERSION 5.00
Begin VB.Form Form1
AutoRedraw = -1 'True
Caption = "图书管理"
ClientHeight = 9300
ClientLeft = 60
ClientTop = 345
ClientWidth = 11100
LinkTopic = "Form1"
ScaleHeight = 9300
ScaleWidth = 11100
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command2
Caption = "取 消"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 4320
TabIndex = 5
Top = 5400
Width = 1215
End
Begin VB.TextBox Text2
BackColor = &H00FFC0C0&
Height = 495
IMEMode = 3 'DISABLE
Left = 4320
PasswordChar = "*"
TabIndex = 4
Top = 4440
Width = 1335
End
Begin VB.TextBox Text1
BackColor = &H00FFC0C0&
Height = 495
Left = 4320
TabIndex = 3
Top = 3600
Width = 1335
End
Begin VB.CommandButton Command1
Caption = "登 陆"
Default = -1 'True
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 2760
TabIndex = 2
Top = 5400
Width = 1215
End
Begin VB.Label Label3
BackColor = &H00FF8080&
Caption = "图 书 管 理 中 心"
BeginProperty Font
Name = "华文行楷"
Size = 24
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H8000000E&
Height = 615
Left = 2520
TabIndex = 6
Top = 1920
Width = 4575
End
Begin VB.Label Label2
BackColor = &H00FF8080&
Caption = " 密 码"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H8000000E&
Height = 495
Left = 2760
TabIndex = 1
Top = 4320
Width = 1215
End
Begin VB.Label Label1
BackColor = &H00FF8080&
Caption = "用 户 名"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H8000000E&
Height = 495
Left = 2760
TabIndex = 0
Top = 3600
Width = 1215
End
Begin VB.Image Image1
Height = 9000
Left = 0
Picture = "Form1.frx":0000
Stretch = -1 'True
Top = 0
Width = 12000
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
If Text1.Text = "song" And Text2.Text = "0206" Then
Load Form2
Form2.Show
Unload Form1
Else
MsgBox "!用户名或者密码错误!!"
End If
End Sub
Private Sub Command2_Click()
If Text1.Text <> "song" And Text2.Text <> "0206" Then
Text1.Text = ""
Text2.Text = ""
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -