📄 hotel_mis.frm
字号:
VERSION 5.00
Begin VB.Form frmLogin
Caption = "Login"
ClientHeight = 3195
ClientLeft = 60
ClientTop = 345
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 3195
ScaleWidth = 4680
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command2
Caption = "取消"
Height = 375
Left = 2880
TabIndex = 6
Top = 2280
Width = 855
End
Begin VB.CommandButton Command1
Caption = "确定"
Height = 375
Left = 480
TabIndex = 5
Top = 2280
Width = 855
End
Begin VB.TextBox txtPwd
Height = 375
IMEMode = 3 'DISABLE
Left = 1920
PasswordChar = "*"
TabIndex = 4
Top = 1560
Width = 2415
End
Begin VB.TextBox txtUid
Height = 375
Left = 1920
TabIndex = 3
Top = 960
Width = 2415
End
Begin VB.Label Label3
Caption = "密 码:"
Height = 255
Left = 240
TabIndex = 2
Top = 1680
Width = 1335
End
Begin VB.Label Label2
Caption = "登陆代码:"
Height = 255
Left = 240
TabIndex = 1
Top = 1080
Width = 1335
End
Begin VB.Label Label1
Caption = "宾馆管理信息系统"
BeginProperty Font
Name = "楷体_GB2312"
Size = 18
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 495
Left = 840
TabIndex = 0
Top = 240
Width = 3255
End
End
Attribute VB_Name = "frmLogin"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Uid = Trim$(txtUid.Text)
UName = Trim$(txtUid.Text)
Pwd = Trim$(txtPwd.Text)
If Checkpwd Then
'MsgBox "yes"
Else
MsgBox "输入有误,自动退出"
Unload Me
End If
Unload Me
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -