📄 form1.frm
字号:
VERSION 5.00
Begin VB.Form Form1
Caption = "转换注册码"
ClientHeight = 1860
ClientLeft = 60
ClientTop = 345
ClientWidth = 4365
LinkTopic = "Form1"
ScaleHeight = 1860
ScaleWidth = 4365
StartUpPosition = 1 '所有者中心
Begin VB.CommandButton Command2
Caption = "退出"
Height = 405
Left = 2205
TabIndex = 5
Top = 1260
Width = 1470
End
Begin VB.CommandButton Command1
Caption = "转换注册码"
Height = 405
Left = 630
TabIndex = 0
Top = 1260
Width = 1470
End
Begin VB.Frame Frame1
Height = 1050
Left = 135
TabIndex = 1
Top = 120
Width = 4080
Begin VB.TextBox Text2
Height = 315
Left = 1290
TabIndex = 4
Top = 600
Width = 2430
End
Begin VB.TextBox Text1
Height = 315
Left = 1290
TabIndex = 3
Text = "757731834"
Top = 210
Width = 2430
End
Begin VB.Label Label1
BackStyle = 0 'Transparent
Caption = "输入序列号: 转换注册码:"
Height = 750
Left = 165
TabIndex = 2
Top = 300
Width = 1365
End
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
If Text1.Text <> "" Then
Text2.Text = Hex(Val(Text1.Text)) '将序列号转换为十六进制的字符串
End If
End Sub
Private Sub Command2_Click()
End
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -