?? 登陸.frm
字號:
VERSION 5.00
Begin VB.Form Form1
Caption = "宿舍管理軟件"
ClientHeight = 2025
ClientLeft = 6165
ClientTop = 4155
ClientWidth = 2760
LinkTopic = "Form1"
ScaleHeight = 2025
ScaleWidth = 2760
Begin VB.Frame Frame1
Caption = "管理員登陸"
Height = 1695
Left = 120
TabIndex = 0
Top = 240
Width = 2535
Begin VB.CommandButton Command2
Caption = "取消"
Height = 255
Left = 1320
TabIndex = 6
Top = 1320
Width = 975
End
Begin VB.CommandButton Command1
Caption = "登陸"
Height = 255
Left = 240
TabIndex = 5
Top = 1320
Width = 855
End
Begin VB.TextBox Text2
Height = 270
IMEMode = 3 'DISABLE
Left = 960
PasswordChar = "*"
TabIndex = 4
Top = 840
Width = 1335
End
Begin VB.TextBox Text1
Height = 270
Left = 960
TabIndex = 3
Top = 480
Width = 1335
End
Begin VB.Label Label2
Caption = "密 碼"
Height = 255
Left = 240
TabIndex = 2
Top = 840
Width = 615
End
Begin VB.Label Label1
Caption = "用戶名"
Height = 255
Left = 240
TabIndex = 1
Top = 480
Width = 735
End
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()
Dim x, y As Integer
a = abc
b = 123
x = Val(Text1.Text)
y = Val(Text2.Text)
If x = a And y = b Then
Form2.Show
Else
MsgBox "您輸入的用戶名或密碼錯誤!請重新輸入!"
End If
End Sub
Private Sub Command2_Click()
End
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -