📄 frmlogin.frm
字号:
VERSION 5.00
Begin VB.Form frmLogin
BorderStyle = 3 'Fixed Dialog
Caption = "登录"
ClientHeight = 1800
ClientLeft = 45
ClientTop = 330
ClientWidth = 3525
LinkTopic = "Form1"
LockControls = -1 'True
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1800
ScaleWidth = 3525
ShowInTaskbar = 0 'False
StartUpPosition = 1 '所有者中心
Begin VB.CommandButton cmdCancel
Cancel = -1 'True
Caption = "取消"
Height = 320
Left = 1802
TabIndex = 4
Top = 1350
Width = 1120
End
Begin VB.CommandButton cmdOK
Caption = "确定(&O)"
Default = -1 'True
Height = 320
Left = 602
TabIndex = 3
Top = 1350
Width = 1120
End
Begin VB.TextBox txtUser
Height = 315
Left = 990
TabIndex = 1
Top = 480
Width = 2445
End
Begin VB.TextBox txtPassword
Height = 315
IMEMode = 3 'DISABLE
Left = 990
PasswordChar = "*"
TabIndex = 2
Top = 870
Width = 2445
End
Begin VB.TextBox txtServer
Height = 315
Left = 990
TabIndex = 0
Top = 90
Width = 2445
End
Begin VB.Label Label1
Caption = "用户密码:"
Height = 180
Index = 2
Left = 120
TabIndex = 7
Top = 930
Width = 810
End
Begin VB.Label Label1
Caption = "用户名称:"
Height = 180
Index = 1
Left = 120
TabIndex = 6
Top = 540
Width = 810
End
Begin VB.Label Label1
Caption = "服务器名:"
Height = 180
Index = 0
Left = 150
TabIndex = 5
Top = 157
Width = 810
End
End
Attribute VB_Name = "frmLogin"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
'┏━━━━━━━━━━━━━━━━━━━━━━━┓
'┃ 模块名称:登录窗口 ┃
'┣━━━━━━━━━━━━━━━━━━━━━━━┫
'┃ 大连奥远电子有限公司 ┃
'┣━━━━━━━━━━━━━━━━━━━━━━━┫
'┃ 作者:崔占民 ┃
'┣━━━━━━━━━━━━━━━━━━━━━━━┫
'┃ 2002.10.14 ┃
'┗━━━━━━━━━━━━━━━━━━━━━━━┛
Private Sub cmdCancel_Click()
Unload Me
End Sub
Private Sub cmdOK_Click()
ls_HostName = txtServer.Text
ls_User = txtUser.Text
ls_Password = txtPassword.Text
Unload Me
End Sub
Private Sub Form_Load()
ls_HostName = ""
ls_User = ""
ls_Password = ""
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -