frmtest.frm
来自「这个类提供了一个快速和更简单的方式来使用RC4算法来加密和解密文件。它也包括了用」· FRM 代码 · 共 50 行
FRM
50 行
VERSION 5.00
Begin VB.Form frmTest
BorderStyle = 1 'Fixed Single
Caption = "Test the File Handler"
ClientHeight = 705
ClientLeft = 45
ClientTop = 435
ClientWidth = 5760
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 705
ScaleWidth = 5760
StartUpPosition = 2 'CenterScreen
Begin VB.CommandButton cmdDecrypt
Caption = "Decrypt the File in the folder."
Height = 495
Left = 2640
TabIndex = 1
Top = 120
Width = 3015
End
Begin VB.CommandButton cmdEncrypt
Caption = "Encrypt the file in folder."
Height = 495
Left = 360
TabIndex = 0
Top = 120
Width = 2055
End
End
Attribute VB_Name = "frmTest"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub cmdDecrypt_Click()
Dim myFile As New clsFileHandler
myFile.Filename = App.Path & "\q.txt"
myFile.DecryptFileN App.Path, "jkjhfiwekkcvhwefknvkahehre34768bcbaiwger8r9734bkjbasdbfiuwqgiugvabkgiut87654"
End Sub
Private Sub cmdEncrypt_Click()
Dim myFile As New clsFileHandler
myFile.Filename = App.Path & "\q.txt"
myFile.EncryptFile App.Path, "jkjhfiwekkcvhwefknvkahehre34768bcbaiwger8r9734bkjbasdbfiuwqgiugvabkgiut87654"
End Sub
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?