📄 duzhe_denglu.frm
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Begin VB.Form duzhe_denglu
BorderStyle = 3 'Fixed Dialog
Caption = "读者登陆"
ClientHeight = 3465
ClientLeft = 45
ClientTop = 435
ClientWidth = 5355
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3465
ScaleWidth = 5355
ShowInTaskbar = 0 'False
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command1
Caption = "登陆"
Height = 495
Left = 480
TabIndex = 3
Top = 1560
Width = 1215
End
Begin VB.CommandButton Command2
Caption = "取消"
Height = 495
Left = 2760
TabIndex = 2
Top = 1560
Width = 1455
End
Begin VB.TextBox Text1
Height = 495
Left = 1320
TabIndex = 0
Text = "08010101"
Top = 360
Width = 2895
End
Begin MSAdodcLib.Adodc Adodc1
Height = 375
Left = 480
Top = 2520
Width = 3975
_ExtentX = 7011
_ExtentY = 661
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 2
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=图书馆管理系统.mdb;Persist Security Info=False"
OLEDBString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=图书馆管理系统.mdb;Persist Security Info=False"
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = "读者信息"
Caption = "Adodc1"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
_Version = 393216
End
Begin VB.Label Label1
Caption = "学号"
Height = 495
Left = 600
TabIndex = 1
Top = 480
Width = 855
End
End
Attribute VB_Name = "duzhe_denglu"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
If Text1.Text <> "" Then
Adodc1.Recordset.Find "学号='" & Text1.Text & "'"
If Adodc1.Recordset.EOF = False Then
MsgBox "登录成功!"
Unload Me
duzhe_zong.Show
Unload zhu
Else
MsgBox "学号不正确!"
End If
Else
MsgBox "学号不能为空"
End If
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
Private Sub Form_Load()
Adodc1.Refresh
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -