?? form2.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 Form2
BorderStyle = 0 'None
Caption = "注冊程序"
ClientHeight = 4530
ClientLeft = 0
ClientTop = 0
ClientWidth = 3750
Icon = "Form2.frx":0000
LinkTopic = "Form2"
ScaleHeight = 4530
ScaleWidth = 3750
ShowInTaskbar = 0 'False
StartUpPosition = 3 '窗口缺省
Begin VB.TextBox Text3
Height = 975
Left = 600
MultiLine = -1 'True
TabIndex = 4
Text = "Form2.frx":1272
Top = 240
Width = 2295
End
Begin XP窗體控件.XPForm XPForm1
Height = 930
Left = 120
Top = 2040
Width = 1920
_ExtentX = 3387
_ExtentY = 1640
Caption = "注冊程序"
Icon = "Form2.frx":12C9
AlwaysOnTop = -1 'True
ShowFormSize = 0 'False
End
Begin as97Popup.asPopup asPopup2
Height = 495
Left = 1800
Top = 3480
Width = 1335
_ExtentX = 2355
_ExtentY = 873
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
ScaleWidth = 89
ScaleMode = 0
ScaleHeight = 33
End
Begin as97Popup.asPopup asPopup1
Height = 495
Left = 360
Top = 3480
Width = 1095
_ExtentX = 1931
_ExtentY = 873
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
ScaleWidth = 73
ScaleMode = 0
ScaleHeight = 33
End
Begin VB.TextBox Text2
Height = 495
Left = 1440
TabIndex = 3
Top = 2400
Width = 1575
End
Begin VB.TextBox Text1
Height = 495
Left = 1440
TabIndex = 2
Top = 1680
Width = 1575
End
Begin VB.Label Label2
Caption = "注冊碼"
Height = 375
Left = 240
TabIndex = 1
Top = 2520
Width = 975
End
Begin VB.Label Label1
Caption = "注冊號:"
Height = 375
Left = 240
TabIndex = 0
Top = 1680
Width = 975
End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim Serial_Number, Activation_Code, Get_Serial_From_Registry
Private Sub asPopup1_Click(Cancel As Boolean)
Activation_Code = Left(Serial_Number, 4)
Activation_Code = Activation_Code * 18999
Activation_Code = Left(Activation_Code, 5)
If Text2.Text = Activation_Code Then
SaveSetting "MyApp", "textpass1_2", "Value", Text2.Text
MsgBox "注冊成功,謝謝您的注冊"
End If
End Sub
Private Sub asPopup2_Click(Cancel As Boolean)
Unload Me
End Sub
Private Sub Form_Load()
XPForm1.Make
Serial_Number = GetDriveInfo("c:\", GETDI_SERIAL) ' HD Serial Number
Text1.Text = Serial_Number
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -