📄 frmzc.frm
字号:
VERSION 5.00
Begin VB.Form frmzc
BackColor = &H80000004&
BorderStyle = 3 'Fixed Dialog
Caption = "请输入注册码"
ClientHeight = 1725
ClientLeft = 1950
ClientTop = 3900
ClientWidth = 5265
FillColor = &H0080C0FF&
Icon = "frmzc.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1725
ScaleWidth = 5265
ShowInTaskbar = 0 'False
StartUpPosition = 2 '屏幕中心
Begin VB.CommandButton Command2
BackColor = &H80000004&
Caption = "取消"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 372
Left = 3000
Style = 1 'Graphical
TabIndex = 3
Top = 1080
Width = 1332
End
Begin VB.CommandButton Command1
BackColor = &H80000004&
Caption = "确定"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 372
Left = 480
Style = 1 'Graphical
TabIndex = 2
Top = 1080
Width = 1332
End
Begin VB.TextBox Text1
BackColor = &H00C0C0C0&
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 372
Left = 2040
TabIndex = 1
Top = 360
Width = 2892
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "请输入注册码:"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 252
Left = 240
TabIndex = 0
Top = 360
Width = 1812
End
End
Attribute VB_Name = "frmzc"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub Command1_Click()
If Trim(Text1.Text) = ljg Then
SaveSetting appname:="ljg", Section:="llx", Key:="xtzc", setting:=1
MsgBox "注册成功!", vbInformation + vbOKOnly, "提示"
Frmlogin.Command3.Visible = False
Unload Me
Else
MsgBox "注册码不正确!", vbInformation + vbOKOnly, "提示"
End If
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -