📄 frmencrypt.frm
字号:
VERSION 5.00
Begin VB.Form frmEncrypt
Caption = "替代加密法"
ClientHeight = 3255
ClientLeft = 60
ClientTop = 375
ClientWidth = 6000
Icon = "frmEncrypt.frx":0000
LinkTopic = "Form1"
ScaleHeight = 3255
ScaleWidth = 6000
StartUpPosition = 2 '屏幕中心
Begin VB.TextBox Text3
Height = 408
Left = 1920
MultiLine = -1 'True
TabIndex = 7
ToolTipText = "Type the String to be Encrypted Here."
Top = 120
Width = 3360
End
Begin VB.TextBox Text2
Height = 372
Left = 1920
MultiLine = -1 'True
TabIndex = 3
Top = 1680
Width = 3372
End
Begin VB.CommandButton Command1
Height = 510
Index = 0
Left = 1800
TabIndex = 1
Top = 2640
Width = 1410
End
Begin VB.TextBox Text1
Height = 384
Left = 1920
MultiLine = -1 'True
TabIndex = 0
ToolTipText = "Type the String to be Encrypted Here."
Top = 1092
Width = 3360
End
Begin VB.PictureBox ImageList1
BackColor = &H80000005&
Height = 480
Left = 5445
ScaleHeight = 420
ScaleWidth = 1140
TabIndex = 2
Top = 5760
Width = 1200
End
Begin VB.Label Label3
Caption = "密 钥"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 372
Left = 360
TabIndex = 6
Top = 240
Width = 1332
End
Begin VB.Label Label2
Caption = "加 密后的字 符串"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 372
Left = 240
TabIndex = 5
Top = 1800
Width = 1452
End
Begin VB.Label Label1
Caption = "待 加 密 字 符 串"
BeginProperty Font
Name = "MS Sans Serif"
Size = 9.75
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 372
Left = 240
TabIndex = 4
Top = 1200
Width = 1452
End
Begin VB.Line Line2
X1 = 0
X2 = 6075
Y1 = 2520
Y2 = 2520
End
Begin VB.Line Line1
X1 = 0
X2 = 6075
Y1 = 840
Y2 = 840
End
End
Attribute VB_Name = "frmEncrypt"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private MydsEncrypt As dsEncrypt
Private Sub Command1_Click(Index As Integer)
Command1(0).Caption = "加密"
MydsEncrypt.KeyString = (Text3.Text)
Text2.Text = MydsEncrypt.Encrypt(Text1.Text)
End Sub
Private Sub Form_Load()
Set MydsEncrypt = New dsEncrypt
Text3.Text = "liutao"
Command1(0).Caption = "加密"
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -