📄 frmlogin.frm
字号:
VERSION 5.00
Begin VB.Form frmLogin
BorderStyle = 0 'None
Caption = "Login"
ClientHeight = 2130
ClientLeft = 2790
ClientTop = 3045
ClientWidth = 5115
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1258.474
ScaleMode = 0 'User
ScaleWidth = 4802.708
ShowInTaskbar = 0 'False
StartUpPosition = 1 '所有者中心
Begin SICONZ.MyCmd CmdLogin
Height = 315
Left = 2580
TabIndex = 6
Top = 1650
Width = 1995
_ExtentX = 3440
_ExtentY = 556
Caption = "登录(&L)"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin VB.TextBox txtUserName
Appearance = 0 'Flat
BeginProperty Font
Name = "Verdana"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 345
Left = 1545
TabIndex = 1
Top = 660
Width = 3030
End
Begin VB.TextBox txtPassword
Appearance = 0 'Flat
BeginProperty Font
Name = "Verdana"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 345
IMEMode = 3 'DISABLE
Left = 1545
PasswordChar = "*"
TabIndex = 3
Top = 1140
Width = 3030
End
Begin SICONZ.XPOption CmdEnd
Height = 390
Left = 4815
TabIndex = 4
Top = 0
Width = 225
_ExtentX = 397
_ExtentY = 688
Caption = ""
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "MS Sans Serif"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin VB.Label lblLabels
BackStyle = 0 'Transparent
Caption = "密码(&P):"
Height = 270
Index = 1
Left = 360
TabIndex = 2
Top = 1185
Width = 1080
End
Begin VB.Label lblLabels
BackStyle = 0 'Transparent
Caption = "用户名(&U):"
Height = 270
Index = 0
Left = 360
TabIndex = 0
Top = 720
Width = 1080
End
Begin VB.Image Image2
Height = 390
Left = 0
Picture = "frmLogin.frx":0000
Top = 0
Width = 75
End
Begin VB.Image Image3
Height = 390
Left = 5040
Picture = "frmLogin.frx":01E2
Top = 0
Width = 75
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "登陆."
ForeColor = &H00000000&
Height = 180
Left = 150
TabIndex = 5
Top = 90
Width = 450
End
Begin VB.Image ImgTitle
Height = 390
Left = 75
Picture = "frmLogin.frx":03C4
Stretch = -1 'True
Top = 0
Width = 4740
End
Begin VB.Shape Shape1
BorderColor = &H00FCB37E&
Height = 1755
Left = 0
Top = 375
Width = 5115
End
Begin VB.Image Image1
Height = 3600
Left = 0
Picture = "frmLogin.frx":046E
Stretch = -1 'True
Top = 345
Width = 5115
End
End
Attribute VB_Name = "frmLogin"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'****************************************************************************
'人人为我,我为人人
'枕善居汉化收藏整理
'发布日期:05/05/22
'描 述:一个很酷的界面源码
'网 站:http://www.mndsoft.com/
'e-mail:mnd@mndsoft.com
'OICQ : 88382850
'****************************************************************************
Option Explicit
Public LoginSucceeded As Boolean
Private Sub cmdCancel_Click()
LoginSucceeded = False
Me.Hide
End Sub
Private Sub cmdOK_Click()
If txtPassword = "password" Then
LoginSucceeded = True
Me.Hide
Else
MsgBox "Invalid Password, try again!", , "Login"
txtPassword.SetFocus
SendKeys "{Home}+{End}"
End If
End Sub
Private Sub CmdEnd_ValueChanged(blnValue As Boolean)
Unload Me
End Sub
Private Sub CmdLogin_ValueChanged(blnValue As Boolean)
Unload Me
End Sub
Private Sub ImgTitle_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
ReleaseCapture
SendMessage Me.hwnd, &HA1, 2, 0&
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -