📄 frmregister.frm
字号:
VERSION 5.00
Begin VB.Form frmRegister
Caption = "软件注册"
ClientHeight = 3705
ClientLeft = 60
ClientTop = 345
ClientWidth = 5550
ControlBox = 0 'False
Icon = "frmRegister.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
ScaleHeight = 3705
ScaleWidth = 5550
StartUpPosition = 2 '屏幕中心
Begin VB.Frame Frame2
Caption = "注册"
Height = 1095
Left = 120
TabIndex = 5
Top = 1980
Width = 5295
Begin VB.TextBox Text2
Height = 285
Left = 1560
TabIndex = 7
Text = "Text2"
Top = 620
Width = 3135
End
Begin VB.TextBox Text1
BackColor = &H8000000F&
Height = 285
Left = 1560
Locked = -1 'True
TabIndex = 6
Text = "Text1"
Top = 260
Width = 3135
End
Begin VB.Label Label5
Caption = "软件注册号:"
Height = 255
Left = 480
TabIndex = 9
Top = 660
Width = 1215
End
Begin VB.Label Label4
Caption = "软件系列号:"
Height = 255
Left = 480
TabIndex = 8
Top = 305
Width = 1215
End
End
Begin VB.CommandButton cmdRegister
Caption = "申请注册"
Default = -1 'True
Height = 375
Left = 2760
TabIndex = 1
Top = 3210
Width = 1095
End
Begin VB.CommandButton cmdCancel
Cancel = -1 'True
Caption = "继续评测"
Height = 375
Left = 3960
TabIndex = 0
Top = 3210
Width = 1095
End
Begin VB.Frame Frame1
Caption = "声明:"
Height = 1815
Left = 120
TabIndex = 2
Top = 90
Width = 5295
Begin VB.Label Label1
Caption = $"frmRegister.frx":0442
Height = 1095
Left = 120
TabIndex = 4
Top = 240
Width = 5055
End
Begin VB.Label Label3
Caption = "注册电话:0718-8251345 联系人:梁秀林"
Height = 255
Left = 480
TabIndex = 3
Top = 1440
Width = 4095
End
End
End
Attribute VB_Name = "frmRegister"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdCancel_Click()
If frmSplash.ActiveLock1.Counter > 100 Then
' If frmSplash.ActiveLock1.UsedDays > 200 Or (CStr(Year(Now())) + right(CStr(100 + Month(Now())), 2) + right(CStr(100 + Day(Now())), 2) > "20010831" Or CStr(Year(Now())) + right(CStr(100 + Month(Now())), 2) + right(CStr(100 + Day(Now())), 2) < "20010101") Then
If MsgBox("评测版本已到期!是否申请注册?", vbCritical + vbYesNo, "提示信息") = vbYes Then
Exit Sub
Else
End
End If
Else
Unload Me
End If
End Sub
Private Sub cmdRegister_Click()
frmSplash.ActiveLock1.LiberationKey = Text2
If Not (frmSplash.ActiveLock1.RegisteredUser) Then
MsgBox "注册失败!"
Else
MsgBox "注册成功,谢谢使用!"
Unload Me
End If
End Sub
Private Sub Form_Load()
Text1.Text = frmSplash.ActiveLock1.SoftwareCode
Text2.Text = ""
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -