📄 form2.frm
字号:
VERSION 5.00
Begin VB.Form Form2
BorderStyle = 3 'Fixed Dialog
Caption = "SPL Encryption"
ClientHeight = 4515
ClientLeft = 45
ClientTop = 435
ClientWidth = 9345
BeginProperty Font
Name = "Arial"
Size = 12
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Icon = "Form2.frx":0000
LinkTopic = "Form2"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 4515
ScaleWidth = 9345
ShowInTaskbar = 0 'False
StartUpPosition = 2 'CenterScreen
Begin VB.CommandButton Command1
Caption = "Decrypt"
Height = 375
Left = 7440
TabIndex = 11
Top = 3960
Width = 1575
End
Begin VB.TextBox Text5
Appearance = 0 'Flat
Height = 375
Left = 7680
TabIndex = 10
Text = "8737"
Top = 3480
Width = 1335
End
Begin VB.TextBox Text1
Appearance = 0 'Flat
Height = 375
Left = 4080
TabIndex = 3
Text = "8737"
Top = 480
Width = 1335
End
Begin VB.TextBox Text2
Appearance = 0 'Flat
Height = 375
Left = 1920
TabIndex = 2
Text = "500"
Top = 1080
Width = 1335
End
Begin VB.TextBox Text3
Appearance = 0 'Flat
Height = 375
Left = 5880
TabIndex = 1
Text = "4692"
Top = 1080
Width = 1215
End
Begin VB.TextBox Text4
Appearance = 0 'Flat
BeginProperty Font
Name = "Arial"
Size = 12
Charset = 0
Weight = 700
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 1455
Left = 240
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 0
Top = 1920
Width = 8775
End
Begin VB.Label Label6
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Enter letter to encrypt:"
BeginProperty Font
Name = "Arial"
Size = 14.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 330
Left = 4800
TabIndex = 9
Top = 3480
Width = 2775
End
Begin VB.Label Label1
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Please enter your keys for successfull description:"
BeginProperty Font
Name = "Arial"
Size = 12
Charset = 0
Weight = 400
Underline = 0 'False
Italic = -1 'True
Strikethrough = 0 'False
EndProperty
Height = 285
Left = 0
TabIndex = 8
Top = 0
Width = 5295
End
Begin VB.Label Label2
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Your Personal key (numbers):"
BeginProperty Font
Name = "Arial"
Size = 14.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 330
Left = 240
TabIndex = 7
Top = 480
Width = 3855
End
Begin VB.Label Label3
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Starting from:"
BeginProperty Font
Name = "Arial"
Size = 14.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 330
Left = 240
TabIndex = 6
Top = 1080
Width = 1695
End
Begin VB.Label Label4
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "(for letter ""Z""-""A"")"
Height = 270
Left = 1920
TabIndex = 5
Top = 1440
Width = 1785
End
Begin VB.Label Label5
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "Second Key:"
BeginProperty Font
Name = "Arial"
Size = 14.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 330
Left = 4200
TabIndex = 4
Top = 1080
Width = 1635
End
End
Attribute VB_Name = "Form2"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
If (Text1 - Text3) * (Text2 - 99) = Text5.Text Then
Text4.Text = Text4.Text + " "
End If
If (Text1 - Text3) * (Text2 - 17) = Text5.Text Then
Text4.Text = Text4.Text + "Q"
End If
If (Text1 - Text3) * (Text2 - 1) = Text5.Text Then
Text4.Text = Text4.Text + "A"
End If
If (Text1 - Text3) * (Text2 - 2) = Text5.Text Then
Text4.Text = Text4.Text + "B"
End If
If (Text1 - Text3) * (Text2 - 3) = Text5.Text Then
Text4.Text = Text4.Text + "C"
End If
If (Text1 - Text3) * (Text2 - 4) = Text5.Text Then
Text4.Text = Text4.Text + "D"
End If
If (Text1 - Text3) * (Text2 - 5) = Text5.Text Then
Text4.Text = Text4.Text + "E"
End If
If (Text1 - Text3) * (Text2 - 6) = Text5.Text Then
Text4.Text = Text4.Text + "F"
End If
If (Text1 - Text3) * (Text2 - 7) = Text5.Text Then
Text4.Text = Text4.Text + "G"
End If
If (Text1 - Text3) * (Text2 - 8) = Text5.Text Then
Text4.Text = Text4.Text + "H"
End If
If (Text1 - Text3) * (Text2 - 9) = Text5.Text Then
Text4.Text = Text4.Text + "I"
End If
If (Text1 - Text3) * (Text2 - 10) = Text5.Text Then
Text4.Text = Text4.Text + "J"
End If
If (Text1 - Text3) * (Text2 - 11) = Text5.Text Then
Text4.Text = Text4.Text + "K"
End If
If (Text1 - Text3) * (Text2 - 12) = Text5.Text Then
Text4.Text = Text4.Text + "L"
End If
If (Text1 - Text3) * (Text2 - 13) = Text5.Text Then
Text4.Text = Text4.Text + "M"
End If
If (Text1 - Text3) * (Text2 - 14) = Text5.Text Then
Text4.Text = Text4.Text + "N"
End If
If (Text1 - Text3) * (Text2 - 15) = Text5.Text Then
Text4.Text = Text4.Text + "O"
End If
If (Text1 - Text3) * (Text2 - 16) = Text5.Text Then
Text4.Text = Text4.Text + "P"
End If
If (Text1 - Text3) * (Text2 - 18) = Text5.Text Then
Text4.Text = Text4.Text + "R"
End If
If (Text1 - Text3) * (Text2 - 19) = Text5.Text Then
Text4.Text = Text4.Text + "S"
End If
If (Text1 - Text3) * (Text2 - 20) = Text5.Text Then
Text4.Text = Text4.Text + "T"
End If
If (Text1 - Text3) * (Text2 - 21) = Text5.Text Then
Text4.Text = Text4.Text + "U"
End If
If (Text1 - Text3) * (Text2 - 22) = Text5.Text Then
Text4.Text = Text4.Text + "V"
End If
If (Text1 - Text3) * (Text2 - 23) = Text5.Text Then
Text4.Text = Text4.Text + "W"
End If
If (Text1 - Text3) * (Text2 - 24) = Text5.Text Then
Text4.Text = Text4.Text + "X"
End If
If (Text1 - Text3) * (Text2 - 25) = Text5.Text Then
Text4.Text = Text4.Text + "Y"
End If
If (Text1 - Text3) * (Text2 - 26) = Text5.Text Then
Text4.Text = Text4.Text + "Z"
End If
If (Text1 - Text3) * (Text2 - 49) = Text5.Text Then
Text4.Text = Text4.Text + "9"
End If
If (Text1 - Text3) * (Text2 - 48) = Text5.Text Then
Text4.Text = Text4.Text + "8"
End If
If (Text1 - Text3) * (Text2 - 47) = Text5.Text Then
Text4.Text = Text4.Text + "7"
End If
If (Text1 - Text3) * (Text2 - 46) = Text5.Text Then
Text4.Text = Text4.Text + "6"
End If
If (Text1 - Text3) * (Text2 - 45) = Text5.Text Then
Text4.Text = Text4.Text + "5"
End If
If (Text1 - Text3) * (Text2 - 44) = Text5.Text Then
Text4.Text = Text4.Text + "4"
End If
If (Text1 - Text3) * (Text2 - 43) = Text5.Text Then
Text4.Text = Text4.Text + "3"
End If
If (Text1 - Text3) * (Text2 - 42) = Text5.Text Then
Text4.Text = Text4.Text + "2"
End If
If (Text1 - Text3) * (Text2 - 41) = Text5.Text Then
Text4.Text = Text4.Text + "1"
End If
If (Text1 - Text3) * (Text2 - 40) = Text5.Text Then
Text4.Text = Text4.Text + "0"
End If
End Sub
Private Sub decrypt_Click()
Form2.Show
End Sub
Private Sub encrypt_Click()
Form1.Show
End Sub
Private Sub exit_Click()
Unload Me
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -