📄 frmpassword.frm
字号:
VERSION 5.00
Begin VB.Form frmPassword
BackColor = &H0080FF80&
ClientHeight = 2940
ClientLeft = 60
ClientTop = 60
ClientWidth = 7980
ControlBox = 0 'False
BeginProperty Font
Name = "Arial"
Size = 9.75
Charset = 178
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
LinkTopic = "Form1"
ScaleHeight = 2940
ScaleWidth = 7980
StartUpPosition = 3 'Windows Default
Begin VB.TextBox txtUserName
Height = 360
Left = 2280
TabIndex = 1
Text = "administrator"
Top = 1560
Width = 2655
End
Begin VB.TextBox txtPassword
Height = 360
IMEMode = 3 'DISABLE
Left = 2280
PasswordChar = "*"
TabIndex = 0
Tag = "admin"
Top = 2160
Width = 2655
End
Begin Project1.XPButton cmdOk
Height = 375
Left = 5760
TabIndex = 2
Top = 1440
Width = 1575
_ExtentX = 2778
_ExtentY = 661
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "ML1-TTRevathi"
Size = 14.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Caption = "OK"
ForeColor = 255
ForeHover = 16711680
End
Begin Project1.XPButton cmdExit
Height = 375
Left = 5760
TabIndex = 3
Top = 2160
Width = 1575
_ExtentX = 2778
_ExtentY = 661
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "ML1-TTRevathi"
Size = 14.25
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Caption = "Close"
ForeColor = 255
ForeHover = 16711680
End
Begin VB.Image Image7
Height = 480
Left = 0
Picture = "frmPassword.frx":0000
Top = 120
Width = 480
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Login !!"
ForeColor = &H0000FFFF&
Height = 240
Left = 600
TabIndex = 7
Top = 120
Width = 765
End
Begin VB.Label Label2
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "User Name"
ForeColor = &H00000000&
Height = 240
Left = 720
TabIndex = 6
Top = 1560
Width = 1185
End
Begin VB.Label Label3
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Password"
ForeColor = &H00000000&
Height = 240
Left = 720
TabIndex = 5
Top = 2160
Width = 1035
End
Begin VB.Label Label4
Alignment = 2 'Center
AutoSize = -1 'True
BackColor = &H000000C0&
BackStyle = 0 'Transparent
Caption = "You should be an administrator to login. Please enter your password :"
ForeColor = &H00000000&
Height = 240
Left = 210
TabIndex = 4
Top = 840
Width = 7275
End
Begin VB.Image Image1
Height = 360
Left = -1200
Picture = "frmPassword.frx":0442
Top = 0
Width = 10350
End
Begin VB.Image Image2
Height = 90
Left = 0
Picture = "frmPassword.frx":0CC9
Top = 360
Width = 21375
End
End
Attribute VB_Name = "frmPassword"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdExit_Click()
Unload Me
frmMain.Show
End Sub
Private Sub cmdOk_Click()
If txtPassword.Text = txtPassword.Tag Then
frmHRDSal.Show
Unload Me
Else
MsgBox "The password you have entered is incorrect, Please try again.", vbCritical, "Wrong Entry !!"
txtPassword.Text = ""
txtPassword.SetFocus
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -