📄 form1.frm
字号:
VERSION 5.00
Object = "{C7AE747C-B9E4-11D7-B0E3-D8165009166E}#7.0#0"; "XPForm.ocx"
Object = "{D959C709-8613-11D1-9840-002078110E7D}#1.0#0"; "as97Popup.ocx"
Begin VB.Form Form1
BorderStyle = 0 'None
Caption = "注册程序"
ClientHeight = 3780
ClientLeft = 0
ClientTop = 0
ClientWidth = 3525
Icon = "Form1.frx":0000
LinkTopic = "Form1"
ScaleHeight = 3780
ScaleWidth = 3525
ShowInTaskbar = 0 'False
StartUpPosition = 3 '窗口缺省
Begin XP窗体控件.XPForm XPForm1
Height = 810
Left = 480
Top = 240
Width = 1920
_ExtentX = 3387
_ExtentY = 1429
Caption = "注册程序"
Icon = "Form1.frx":1272
AlwaysOnTop = 0 'False
ShowFormSize = 0 'False
End
Begin as97Popup.asPopup asPopup2
Height = 255
Left = 2040
Top = 2760
Width = 735
_ExtentX = 1296
_ExtentY = 450
Caption = "退出"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Layout = 3
ScaleWidth = 49
ScaleMode = 0
ScaleHeight = 17
End
Begin as97Popup.asPopup asPopup1
Height = 255
Left = 600
Top = 2760
Width = 615
_ExtentX = 1085
_ExtentY = 450
Caption = "确定"
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Layout = 2
ScaleWidth = 41
ScaleMode = 0
ScaleHeight = 17
End
Begin VB.TextBox Text2
Height = 375
IMEMode = 3 'DISABLE
Left = 1680
PasswordChar = "*"
TabIndex = 3
Top = 1560
Width = 1215
End
Begin VB.TextBox Text1
Height = 375
Left = 1680
TabIndex = 2
Top = 960
Width = 1215
End
Begin VB.Label Label2
Caption = "密码:"
Height = 255
Left = 600
TabIndex = 1
Top = 1560
Width = 975
End
Begin VB.Label Label1
Caption = "用户名:"
Height = 255
Left = 600
TabIndex = 0
Top = 960
Width = 975
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub asPopup1_Click(Cancel As Boolean)
If Trim(Text1.Text) = "yhx" And Trim(Text2.Text) = "liqin" Then
Unload Me
Form2.Show
Else
MsgBox "输入不对,请与您的供应商联系"
End If
End Sub
Private Sub asPopup2_Click(Cancel As Boolean)
Unload Me
End Sub
Private Sub Form_Load()
XPForm1.Make
End Sub
Private Sub Text2_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
If Trim(Text1.Text) = "yhx" And Trim(Text2.Text) = "liqin" Then
Unload Me
Form2.Show
Else
MsgBox "输入不对,请与您的供应商联系"
End If
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -